mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-09 16:19:07 +00:00
Minor fixes
This commit is contained in:
@@ -96,7 +96,7 @@ def start():
|
||||
|
||||
if conf.configFile and not kb.targetUrls:
|
||||
errMsg = "you did not edit the configuration file properly, set "
|
||||
errMsg += "the target url properly"
|
||||
errMsg += "the target url"
|
||||
logger.error(errMsg)
|
||||
|
||||
hostCount = 0
|
||||
|
||||
@@ -453,6 +453,7 @@ def __setKnowledgeBaseAttributes():
|
||||
kb.parenthesis = None
|
||||
kb.resumedQueries = {}
|
||||
kb.targetUrls = set()
|
||||
kb.timeTest = None
|
||||
kb.unionComment = ""
|
||||
kb.unionCount = None
|
||||
kb.unionPosition = None
|
||||
|
||||
@@ -40,6 +40,8 @@ def timeTest():
|
||||
timeTest = inject.goStacked(query, timeTest=True)
|
||||
|
||||
if timeTest[0] == True:
|
||||
return timeTest[1]
|
||||
kb.timeTest = timeTest[1]
|
||||
else:
|
||||
return None
|
||||
kb.timeTest = False
|
||||
|
||||
return kb.timeTest
|
||||
|
||||
Reference in New Issue
Block a user