Skip to content

Instantly share code, notes, and snippets.

@alexs77
Created September 26, 2014 06:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexs77/1357baf1b084a365becb to your computer and use it in GitHub Desktop.
Save alexs77/1357baf1b084a365becb to your computer and use it in GitHub Desktop.
Shellshock Exploitable (?) PHP Script
<?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"); ?>
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment