Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Safely capturing the output of an external program

by LanX (Saint)
on Mar 09, 2020 at 10:51 UTC ( [id://11114005]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Safely capturing the output of an external program
in thread Safely capturing the output of an external program

> Untainting might work though;

In this case I'd additionally surround arguments with 'singlequotes' .

Your untainting demo is explicitly forbidding quotes, in other cases escape them.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

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

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

    No recent polls found