diff --git a/lib/techniques/brute/use.py b/lib/techniques/brute/use.py index 70836fa54..21310158c 100644 --- a/lib/techniques/brute/use.py +++ b/lib/techniques/brute/use.py @@ -33,7 +33,7 @@ def tableExists(tableFile): infoMsg = "checking table existence using items from '%s'" % tableFile logger.info(infoMsg) - infoMsg = "adding words used on web page to name check list" + infoMsg = "adding words used on web page to the check list" logger.info(infoMsg) pageWords = getPageTextWordsSet(kb.originalPage) for word in pageWords: @@ -74,6 +74,10 @@ def tableExists(tableFile): dataToStdout("\r[%s] [INFO] tried: %s" % (time.strftime("%X"), status), True) iolock.release() + if conf.threads > 1: + debugMsg = "starting %d thread%s" % (conf.threads, ("s" if conf.threads > 1 else "")) + logger.debug(debugMsg) + # Start the threads for numThread in range(conf.threads): thread = threading.Thread(target=tableExistsThread, name=str(numThread)) @@ -167,6 +171,10 @@ def columnExists(columnFile): dataToStdout("\r[%s] [INFO] tried: %s" % (time.strftime("%X"), status), True) iolock.release() + if conf.threads > 1: + debugMsg = "starting %d thread%s" % (conf.threads, ("s" if conf.threads > 1 else "")) + logger.debug(debugMsg) + # Start the threads for numThread in range(conf.threads): thread = threading.Thread(target=columnExistsThread, name=str(numThread))