Minor bug fix to properly set the ratio just before the check for injection, not before the check for dynamicity

This commit is contained in:
Bernardo Damele 2010-11-07 15:45:26 +00:00
parent 9669dbdae1
commit 6716315a76

View File

@ -209,8 +209,6 @@ def start():
checkStability()
for place in conf.parameters.keys():
conf.matchRatio = None
if not conf.paramDict.has_key(place):
continue
@ -250,6 +248,8 @@ def start():
logMsg += "%d parenthesis" % parenthesis
logger.info(logMsg)
conf.matchRatio = None
injType = checkSqlInjection(place, parameter, value, parenthesis)
if injType: