Re: Help with untainting data from Net::SSH while running with -T

2006-05-05 Thread Tom Phoenix
On 5/5/06, RICHARD FERNANDEZ <[EMAIL PROTECTED]> wrote: When I run the script w/o the -T, it runs fine, without a peep. When I add the -T, I get the following in the error.log: Insecure dependency in exec while running with -T switch at According to perlsec, a way to untaint data is by "refe

Help with untainting data from Net::SSH while running with -T

2006-05-05 Thread RICHARD FERNANDEZ
Hi folks, I have the following code which is part of a script running with -T on a webserver: #$user, $host, and $command are hard-coded further up in the script; sshopen2("[EMAIL PROTECTED]", *READER, *WRITER, $command) or die "Can't run command on my_box: $!\n"; while () { chomp;