in reply to Taint and Shellshock
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Taint and Shellshock
by kennethk (Abbot) on Sep 27, 2014 at 17:38 UTC | |
by LanX (Saint) on Sep 28, 2014 at 10:00 UTC | |
by kennethk (Abbot) on Sep 29, 2014 at 18:02 UTC | |
by LanX (Saint) on Sep 29, 2014 at 20:27 UTC |