Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: untainting system calls correctly

by dws (Chancellor)
on Apr 10, 2002 at 16:37 UTC ( [id://158065]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      system("/usr/sbin/useradd $cli");
  2. or download this
      "... ; /bin/rm -rf *"
  3. or download this
      my $username = ... untaint $formdata{'username'};
      ... etc. for other form variables
    
    ...
                 $usrname);
      ...
      system("/usr/sbin/useradd", @cli);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://158065]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-25 19:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found