This commit is contained in:
Miroslav Stampar
2011-05-10 21:33:06 +00:00
parent 6b66fce72c
commit 120b0d756e
3 changed files with 12 additions and 69 deletions

View File

@@ -80,7 +80,6 @@ def checkSqlInjection(place, parameter, value):
if kb.endDetection:
break
proceed = True
title = test.title
stype = test.stype
clause = test.clause
@@ -103,6 +102,7 @@ def checkSqlInjection(place, parameter, value):
else:
title = title.replace("[COLSTART]", str(conf.uColsStart))
title = title.replace("[COLSTOP]", str(conf.uColsStop))
elif conf.uCols is not None:
debugMsg = "skipping test '%s' because the user " % title
debugMsg += "provided custom column range %s" % conf.uCols
@@ -211,17 +211,6 @@ def checkSqlInjection(place, parameter, value):
logger.debug(debugMsg)
continue
if len(kb.tested) > 0 and stype in kb.tested:
debugMsg = "skipping test '%s' because this " % title
debugMsg += "technique has already been detected "
debugMsg += "in a previous run"
logger.debug(debugMsg)
proceed = False
if not proceed:
continue
infoMsg = "testing '%s'" % title
logger.info(infoMsg)