Turn on -Taint, then untaint $ipaddr, like$ipaddr = $s->param('_SESSION_REMOTE_ADDR'); $hostname = qx#host $ipaddr |awk {'print \$5'}#;
$ipaddr = $1 if $s->param('_SESSION_REMOTE_ADDR') =~ /([\d.]+)/;
In reply to Re: CGI::Session login problems
by Anonymous Monk
in thread CGI::Session login problems
by speckled
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |