mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
minor fix (turning back the functionality of kb.suppressResumeInfo)
This commit is contained in:
parent
ea5d483c86
commit
6c4bd84d18
|
@ -163,7 +163,7 @@ def __errorFields(expression, expressionFields, expressionFieldsList, expected=N
|
|||
if not kb.threadContinue:
|
||||
return None
|
||||
|
||||
if output is not None:
|
||||
if 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)))
|
||||
|
||||
if isinstance(num, int):
|
||||
|
|
|
@ -314,7 +314,7 @@ def unionUse(expression, unpack=True, dump=False):
|
|||
else:
|
||||
items = output.replace(kb.chars.start, "").replace(kb.chars.stop, "").split(kb.chars.delimiter)
|
||||
|
||||
if conf.verbose == 1:
|
||||
if conf.verbose == 1 and not (threadData.resumed and kb.suppressResumeInfo):
|
||||
status = "[%s] [INFO] %s: %s" % (time.strftime("%X"), "resumed" if threadData.resumed else "retrieved", safecharencode(",".join("\"%s\"" % _ for _ in flattenValue(arrayizeValue(items)))))
|
||||
|
||||
if len(status) > width:
|
||||
|
|
|
@ -129,4 +129,3 @@ class Crawler:
|
|||
else:
|
||||
for url in threadData.shared.outputs:
|
||||
kb.targetUrls.add(( url, None, None, None ))
|
||||
kb.suppressResumeInfo = False
|
||||
|
|
Loading…
Reference in New Issue
Block a user