Of course you need to make sure that $zipname and $fname contain no evil characters.my $r; { open(ZIP,"-|","/usr/local/bin/unzip -P '·······' -p cache/$zipname $fname") || die "unzip failure"; local($/)=undef; $r=<ZIP>; close(ZIP); };
In reply to Re: Unzip with password?
by Sec
in thread Unzip with password?
by Sec
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |