Page 1 of 1

Bash ShellShock Bug Test

Posted: 26 Sep 2014, 10:44
by brid.surapol
run

Code: Select all

env var='() { ignore this;}; echo vulnerable' bash -c /bin/true
ถ้ามี ShellShock Bug จะ return

Code: Select all

vulnerable
ถ้าระบบ มี security patch แล้ว จะ return

Code: Select all

bash: warning: var: ignoring function definition attempt
bash: error importing function definition for `var'