mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
Patch for an Issue #1014
This commit is contained in:
parent
1e06e7c386
commit
785e3d0317
|
@ -853,8 +853,16 @@ def dataToTrafficFile(data):
|
|||
raise SqlmapSystemException(errMsg)
|
||||
|
||||
def dataToDumpFile(dumpFile, data):
|
||||
dumpFile.write(data)
|
||||
dumpFile.flush()
|
||||
try:
|
||||
dumpFile.write(data)
|
||||
dumpFile.flush()
|
||||
except IOError, ex:
|
||||
if "No space left" in str(ex):
|
||||
errMsg = "no space left on output device"
|
||||
logger.error(errMsg)
|
||||
else:
|
||||
raise
|
||||
|
||||
|
||||
def dataToOutFile(filename, data):
|
||||
retVal = None
|
||||
|
|
Loading…
Reference in New Issue
Block a user