Skip to content

Commit 25f8a72

Browse files
committed
Minor layout adjustment
1 parent 17d0b82 commit 25f8a72

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/techniques/blind/inference.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,12 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
100100
progress = ProgressBar(maxValue=length)
101101
progressTime = []
102102

103+
if numThreads is not None:
104+
debugMsg = "starting %d thread%s" % (numThreads, ("s" if numThreads > 1 else ""))
105+
logger.debug(debugMsg)
106+
103107
if conf.verbose >= 1 and not showEta:
104108
if isinstance(length, int) and conf.threads > 1:
105-
infoMsg = "starting %d threads" % numThreads
106-
logger.info(infoMsg)
107-
108109
dataToStdout("[%s] [INFO] retrieved: %s" % (time.strftime("%X"), "_" * min(length, conf.progressWidth)))
109110
dataToStdout("\r[%s] [INFO] retrieved: " % time.strftime("%X"))
110111
else:

0 commit comments

Comments
 (0)