mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-20 13:30:36 +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)
|
raise SqlmapSystemException(errMsg)
|
||||||
|
|
||||||
def dataToDumpFile(dumpFile, data):
|
def dataToDumpFile(dumpFile, data):
|
||||||
dumpFile.write(data)
|
try:
|
||||||
dumpFile.flush()
|
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):
|
def dataToOutFile(filename, data):
|
||||||
retVal = None
|
retVal = None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user