mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
minor update
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user