Shouldn't this line avoid all potential Shellshock exploits?
s/^\(\) {.*// for values %ENV
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
BTW: Couldn't fully test cause my Perl doesn't seem to be exploitable! (?)
erased code example 10 mins after posting ...
never mind, my Ubuntu system runs dash which isn't vulnerable :)
perl -e 'print ` ls -l /proc/\$\$/exe `' lrwxrwxrwx 1 lanx lanx 0 2014-09-27 12:13 /proc/25970/exe -> /bin/dash
In reply to Re: Taint and Shellshock
by LanX
in thread Taint and Shellshock
by kennethk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |