Skip to content

Instantly share code, notes, and snippets.

@nroberson
Created October 15, 2014 02:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nroberson/ff0db63cda34086c9476 to your computer and use it in GitHub Desktop.
Save nroberson/ff0db63cda34086c9476 to your computer and use it in GitHub Desktop.
Bash ShellShock Test
Test if your system is vulnerable,
$ env X="() { :;}; echo shellshock" `which bash` -c "echo completed"
shellshock
completed
If you got “shellshock” in output then it is vulnerable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment