mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Patch for #3815
This commit is contained in:
parent
e10a96610d
commit
752aed2986
3 changed files with 3 additions and 3 deletions
|
|
@ -617,7 +617,7 @@ class Dump(object):
|
|||
warnMsg = "writing binary ('%s') content to file '%s' " % (mimetype, filepath)
|
||||
logger.warn(warnMsg)
|
||||
|
||||
with open(filepath, "wb") as f:
|
||||
with openFile(filepath, "w+b", None) as f:
|
||||
_ = safechardecode(value, True)
|
||||
f.write(_)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue