mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
Minor update for Issue #61
This commit is contained in:
parent
6a05e3fd79
commit
76f7f907c6
|
@ -116,6 +116,7 @@ def __oneShotErrorUse(expression, field):
|
||||||
offset += chunk_length
|
offset += chunk_length
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
|
|
||||||
if kb.fileReadMode and output:
|
if kb.fileReadMode and output:
|
||||||
_ = output
|
_ = output
|
||||||
try:
|
try:
|
||||||
|
@ -169,7 +170,7 @@ def __errorFields(expression, expressionFields, expressionFieldsList, expected=N
|
||||||
if not kb.threadContinue:
|
if not kb.threadContinue:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
if kb.fileReadMode:
|
if kb.fileReadMode and output and output.strip():
|
||||||
print
|
print
|
||||||
elif output is not None and not (threadData.resumed and kb.suppressResumeInfo):
|
elif output is not None and not (threadData.resumed and kb.suppressResumeInfo):
|
||||||
dataToStdout("[%s] [INFO] %s: %s\r\n" % (time.strftime("%X"), "resumed" if threadData.resumed else "retrieved", safecharencode(output)))
|
dataToStdout("[%s] [INFO] %s: %s\r\n" % (time.strftime("%X"), "resumed" if threadData.resumed else "retrieved", safecharencode(output)))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user