Syntactic Confectionery Delight | |
PerlMonks |
CGI and Tracerouteby Anonymous Monk |
on Oct 19, 2000 at 03:19 UTC ( [id://37442]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks! This has been done before but I am trying to write my own CGI/Traceroute program so I can become enlightened. The below code works but it is not secure- someone can type 127.0.0.1 | cat /etc/passwd and grab my password file! Ack! If I uncomment the line below the code doesn't work: $value =~ s /|/ /g; Any ideas on what I need to do so the code is totally secure and works? Thanks!!
Back to
Seekers of Perl Wisdom
|
|