mirror of
https://github.com/sqlmapproject/sqlmap
synced 2026-01-21 07:34:06 +01:00
Fixes #1415
This commit is contained in:
parent
c59ead36ce
commit
2cea977e12
1 changed files with 6 additions and 1 deletions
|
|
@ -3871,13 +3871,18 @@ def decloakToTemp(filename):
|
|||
"""
|
||||
|
||||
content = decloak(filename)
|
||||
_ = os.path.split(filename[:-1])[-1]
|
||||
|
||||
_ = utf8encode(os.path.split(filename[:-1])[-1])
|
||||
|
||||
prefix, suffix = os.path.splitext(_)
|
||||
prefix = prefix.split(os.extsep)[0]
|
||||
|
||||
handle, filename = tempfile.mkstemp(prefix=prefix, suffix=suffix)
|
||||
os.close(handle)
|
||||
|
||||
with open(filename, "w+b") as f:
|
||||
f.write(content)
|
||||
|
||||
return filename
|
||||
|
||||
def prioritySortColumns(columns):
|
||||
|
|
|
|||
Loading…
Reference in a new issue