in reply to Re: Trojan Horse? (taint mode)
in thread Trojan Horse? (taint mode)
And this is the output:#!/usr/bin/perl $a ="${system(\"echo 'hello from system'\")}\n"; print "$a";
hello from system stupid.pl
I think this is what the author is talking about. Now when I use the q or qq it responds as you said so I guess that perl treats qq differently than an actual double quote. Something I didn't know. Interestingly enough it prints the name of the script out as well when this command executes... not sure why.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Trojan Horse? (taint mode)
by blakem (Monsignor) on Nov 26, 2001 at 23:35 UTC | |
by cfreak (Chaplain) on Nov 27, 2001 at 01:32 UTC |