mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
Create zipslip_good.py
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import zipfile
|
||||
|
||||
zf = zipfile.ZipFile(filename)
|
||||
with zipfile.open() as zipf:
|
||||
for entry in zipf:
|
||||
zipf.extract(entry, "/tmp/unpack/")
|
||||
Reference in New Issue
Block a user