mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
minor update
This commit is contained in:
parent
562a6440d1
commit
eaf4b93856
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user