Minor fixes

This commit is contained in:
Bernardo Damele 2008-11-13 00:03:04 +00:00
parent ecc4a98071
commit 0bd5b52d95
4 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,8 @@
sqlmap (0.6.3-1) stable; urgency=low sqlmap (0.6.3-1) stable; urgency=low
* Minor enhancement to support stacked queries which will be used
sometimes by takeover functionality and time based blind SQL injection
technique;
* Minor enhancement to be able to specify the number of seconds to wait * Minor enhancement to be able to specify the number of seconds to wait
between each HTTP request; between each HTTP request;
* Minor enhancement to be able to enumerate table columns and dump table * Minor enhancement to be able to enumerate table columns and dump table

View File

@ -96,7 +96,7 @@ def start():
if conf.configFile and not kb.targetUrls: if conf.configFile and not kb.targetUrls:
errMsg = "you did not edit the configuration file properly, set " errMsg = "you did not edit the configuration file properly, set "
errMsg += "the target url properly" errMsg += "the target url"
logger.error(errMsg) logger.error(errMsg)
hostCount = 0 hostCount = 0

View File

@ -453,6 +453,7 @@ def __setKnowledgeBaseAttributes():
kb.parenthesis = None kb.parenthesis = None
kb.resumedQueries = {} kb.resumedQueries = {}
kb.targetUrls = set() kb.targetUrls = set()
kb.timeTest = None
kb.unionComment = "" kb.unionComment = ""
kb.unionCount = None kb.unionCount = None
kb.unionPosition = None kb.unionPosition = None

View File

@ -40,6 +40,8 @@ def timeTest():
timeTest = inject.goStacked(query, timeTest=True) timeTest = inject.goStacked(query, timeTest=True)
if timeTest[0] == True: if timeTest[0] == True:
return timeTest[1] kb.timeTest = timeTest[1]
else: else:
return None kb.timeTest = False
return kb.timeTest