-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jefferson Cowart wrote on 16.03.2005 10:14:
| What do you mean into BEGIN{}? (Sorry I'm a newbie to perl and while I'm
| semi-comfortable tweaking scripts, there are still large parts I don't
| know.)
Well, on the other side, my experience with -T is rather minimal, so my
advise my well not work at all :-)
Put this in the beginnig of your script (before use Net::Nessus...):
BEGIN {
~ $ENV{PATH} = '/bin:/usr/bin';
}
This will "untaint" $ENV{PATH}.
hth,
dam
- --
Damyan Ivanov 0x9725F63B Creditreform Bulgaria
divanov@creditreform.bg http://www.creditreform.bg/
phone: +359(2)928-2611, 929-3993 fax: +359(2)920-0994
mobile: +359-88-856-6067 ICQ: 3028500 Y!M: dam3028500
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCN+5AHqjlqpcl9jsRAmhwAKCr+U6GqbsY+DxdsQzscTiIm4svFACZAftw
lepDHiqP6y6ICFD89IDG8Yk=
=1oM7
-----END PGP SIGNATURE-----