in reply to Possible Security Hole (was RE: Re: CGI and Traceroute)
in thread CGI and Traceroute
Update: corrected the code (thanks merlyn); sorry for the delay...
# assuming -T ... my $param_cmd = param( 'trace' ); if ( $param_cmd ) and ( $param_cmd =~ /^[-.0-9a-zA-Z]+$/ ) { $param_cmd = $1; print p( "Hello There- I am writing this from " . "scratch so please be patient. Thanks!" ), "<pre>"; system( "/usr/sbin/traceroute", $param_cmd ); ... }
(Sorry it this seems basic, but I'm trying to make sure I've learned the right things from the various FAQ's and nodes on the subject...)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Possible Security Hole
by KM (Priest) on Oct 19, 2000 at 19:55 UTC | |
|
RE: RE: Possible Security Hole
by Kanji (Parson) on Oct 20, 2000 at 07:16 UTC | |
|
RE: RE: Possible Security Hole
by merlyn (Sage) on Oct 20, 2000 at 10:27 UTC |