Advertisement
Yamraaj

CVE-2014-6271 : Shellshock Bash code injection bug check

Sep 25th, 2014
521
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.23 KB | None | 0 0
  1. # chmod 777 bashbugtest.sh
  2. # ./bashbugtest.sh
  3. env x='() { :;}; echo vulnerable' bash -c 'echo testing'
  4. env X="() { :;}; echo shellshock" /bin/sh -c 'echo completed'
  5. env X="() { :;}; echo shellshock" `which bash` -c 'echo completed'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement