mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Update zipslip_bad.py
This commit is contained in:
@@ -34,5 +34,5 @@ def unzip4(filename):
|
||||
filelist = zf.namelist()
|
||||
for x in filelist:
|
||||
with zf.open(x) as srcf:
|
||||
shutil.copyfileobj(x, dstfile)
|
||||
shutil.copyfileobj(x, "/tmp/unpack/")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user