Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

cannot directly untaint a hash value!!!

by particle (Vicar)
on Apr 18, 2002 at 13:11 UTC ( #160188=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -T
    use strict;
    ...
        open( FH, '+>', $params{A} ) or die "$params{A} : untaint \$params
    +{A}";
        close FH;
    }
    
  2. or download this
    $ t-taint.pl
    type 'file' to test: file
    Insecure dependency in open while running with -T switch at ./t-taint.
    +pl line 46, <> line 1.
    
  3. or download this
    # untaint parameters
    for( keys %params )
    ...
            display_message( $messages{error} ) && exit;
        }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2020-04-10 05:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (49 votes). Check out past polls.

    Notices?