mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +03:00
minor update
This commit is contained in:
parent
2e5222bfd8
commit
e290f2b80b
|
@ -108,13 +108,15 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
||||||
progress = ProgressBar(maxValue=length)
|
progress = ProgressBar(maxValue=length)
|
||||||
progressTime = []
|
progressTime = []
|
||||||
|
|
||||||
|
if timeBasedCompare and conf.threads > 1:
|
||||||
|
warnMsg = "multi-threading is considered unsafe in time-based data retrieval. Going to switch it off automatically"
|
||||||
|
singleTimeWarnMessage(warnMsg)
|
||||||
|
|
||||||
if numThreads > 1:
|
if numThreads > 1:
|
||||||
if not timeBasedCompare:
|
if not timeBasedCompare:
|
||||||
debugMsg = "starting %d thread%s" % (numThreads, ("s" if numThreads > 1 else ""))
|
debugMsg = "starting %d thread%s" % (numThreads, ("s" if numThreads > 1 else ""))
|
||||||
logger.debug(debugMsg)
|
logger.debug(debugMsg)
|
||||||
else:
|
else:
|
||||||
debugMsg = "multi-threading is not considered safe in time-based data retrieval"
|
|
||||||
logger.debug(debugMsg)
|
|
||||||
numThreads = 1
|
numThreads = 1
|
||||||
|
|
||||||
if conf.threads == 1 and not timeBasedCompare:
|
if conf.threads == 1 and not timeBasedCompare:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user