mirror of
https://github.com/github/codeql.git
synced 2026-02-23 10:23:41 +01:00
Update zipslip_good.py
This commit is contained in:
@@ -2,5 +2,5 @@ import zipfile
|
||||
|
||||
zf = zipfile.ZipFile(filename)
|
||||
with zipfile.open() as zipf:
|
||||
for entry in zipf:
|
||||
for entry in zipf:
|
||||
zipf.extract(entry, "/tmp/unpack/")
|
||||
|
||||
Reference in New Issue
Block a user