mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-08-03 11:50:10 +03:00
Update common.py
This commit is contained in:
parent
fdc8e664df
commit
989271e9f8
|
@ -872,7 +872,7 @@ def dataToOutFile(filename, data):
|
|||
retVal = os.path.join(conf.filePath, filePathToSafeString(filename))
|
||||
|
||||
try:
|
||||
with openFile(retVal, "wb") as f:
|
||||
with open(retVal, "wb") as f:
|
||||
f.write(data)
|
||||
except IOError, ex:
|
||||
errMsg = "something went wrong while trying to write "
|
||||
|
|
Loading…
Reference in New Issue
Block a user