From 6716315a765664c0aacab0354f6c721158dddbc6 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Sun, 7 Nov 2010 15:45:26 +0000 Subject: [PATCH] Minor bug fix to properly set the ratio just before the check for injection, not before the check for dynamicity --- lib/controller/controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/controller/controller.py b/lib/controller/controller.py index 183ad45f0..aecb75b00 100644 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -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: