Create zipslip_good.py

This commit is contained in:
Ahmed Farid
2022-03-02 18:10:24 +01:00
committed by GitHub
parent aef1df122b
commit c45b67c316

View File

@@ -0,0 +1,6 @@
import zipfile
zf = zipfile.ZipFile(filename)
with zipfile.open() as zipf:
for entry in zipf:
zipf.extract(entry, "/tmp/unpack/")