From 8179fd63c0800c857111ba78bd1f9596f4042270 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Sat, 7 May 2011 23:48:03 +0000 Subject: [PATCH] Minor fix --- lib/controller/controller.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/controller/controller.py b/lib/controller/controller.py index 31fa5e5cc..a6d9cc482 100644 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -198,6 +198,7 @@ def start(): initTargetEnv() parseTargetUrl() + proceed = False testSqlInj = False if PLACE.GET in conf.parameters: @@ -318,10 +319,15 @@ def start(): # TODO: consider the following line in __setRequestParams() # __testableParameters = True - if len(kb.tested) > 0 and kb.tested == conf.tech: - testSqlInj = False + if len(kb.tested) > 0: + for t in conf.tech: + if t not in kb.tested: + proceed = True + break + else: + proceed = True - if testSqlInj: + if proceed: if not conf.string and not conf.regexp: # NOTE: this is not needed anymore, leaving only to display # a warning message to the user in case the page is not stable