Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Unzip with password?

by runrig (Abbot)
on Jan 11, 2013 at 23:14 UTC ( #1012992=note: print w/ replies, xml ) Need Help??


in reply to Re: Unzip with password?
in thread Unzip with password?

Of course you need to make sure that $zipname and $fname contain no evil characters.

You don't if you use the array form of open:

open(ZIP,"-|","/usr/local/bin/unzip" => -P => 'иииииии', -p => "cache/$zipname", $fname, ) || die "unzip failure";


Comment on Re^2: Unzip with password?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (14)
As of 2015-07-31 15:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (279 votes), past polls