From 25f8a724142969ac36d6938038d0a20a8f3922e6 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Fri, 12 Mar 2010 14:48:33 +0000 Subject: [PATCH] Minor layout adjustment --- lib/techniques/blind/inference.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/techniques/blind/inference.py b/lib/techniques/blind/inference.py index 7a6f61d2a..8ef0080b2 100644 --- a/lib/techniques/blind/inference.py +++ b/lib/techniques/blind/inference.py @@ -100,11 +100,12 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None progress = ProgressBar(maxValue=length) progressTime = [] + if numThreads is not None: + debugMsg = "starting %d thread%s" % (numThreads, ("s" if numThreads > 1 else "")) + logger.debug(debugMsg) + if conf.verbose >= 1 and not showEta: if isinstance(length, int) and conf.threads > 1: - infoMsg = "starting %d threads" % numThreads - logger.info(infoMsg) - dataToStdout("[%s] [INFO] retrieved: %s" % (time.strftime("%X"), "_" * min(length, conf.progressWidth))) dataToStdout("\r[%s] [INFO] retrieved: " % time.strftime("%X")) else: