Created
September 26, 2014 08:07
-
-
Save alexs77/b079cc80d30b7cd8c3ce to your computer and use it in GitHub Desktop.
Shellshock Exploitable (?) PHP script?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php header("Content-Type: text/plain");?> | |
system("/usr/bin/id") => <?php system("/usr/bin/id"); ?> | |
shell_exec("/bin/hostname") => <?php echo shell_exec("/bin/hostname"); ?> | |
shell_exec("/bin/bash -c /bin/date") => <?php echo shell_exec("/bin/bash -c /bin/date"); ?> | |
exec("/usr/bin/whoami") => <?php echo exec("/usr/bin/whoami"); ?> | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment