From e4fd8b3f0c4fd6d120d38a9990d70f86510d7126 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 1 Jan 2011 19:22:44 +0000 Subject: [PATCH] (e) finally works as it should --- lib/controller/checks.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 372e5c169..6e090e3e2 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -81,7 +81,10 @@ def checkSqlInjection(place, parameter, value): kb.testMode = True for test in getInjectionTests(): - try: + try: + if kb.endDetection: + break + title = test.title stype = test.stype clause = test.clause @@ -415,7 +418,6 @@ def checkSqlInjection(place, parameter, value): return None elif test[0] in ("e", "E"): kb.endDetection = True - return None elif test[0] in ("q", "Q"): raise sqlmapUserQuitException finally: