merge
This commit is contained in:
commit
83ab7d8896
21 changed files with 239 additions and 107 deletions
|
|
@ -54,6 +54,10 @@ case *'zip archive'*
|
|||
# but the errors look like
|
||||
# unzip: reading data for philw.doc.scr failed: ...
|
||||
# so we can still catch these.
|
||||
if(! unzip -tsf $file >[2=1] >/dev/null){
|
||||
echo corrupt zip file!
|
||||
exit $discard
|
||||
}
|
||||
if(unzip -tsf $file >[2=1] | grep -si ' |\.(scr|exe|pif|bat|com)$'){
|
||||
echo executables inside zip file!
|
||||
exit $discard
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue