Update zipslip_good.py

This commit is contained in:
Ahmed Farid
2022-02-26 18:31:22 +01:00
committed by GitHub
parent d0d14be693
commit c207294dfc

View File

@@ -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/")