From 90582ed7dc209fc9f70a6941961477b252b0027b Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 21 Feb 2011 11:35:21 +0000 Subject: [PATCH] minor change --- lib/controller/checks.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index a9eedbb07..8d53ad081 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -456,15 +456,15 @@ def checkSqlInjection(place, parameter, value): logger.warn(warnMsg) message = "How do you want to proceed? [(S)kip current test/(e)nd detection phase/(n)ext parameter/(q)uit]" - test = readInput(message, default="S") + choice = readInput(message, default="S") - if not test or test[0] in ("s", "S"): + if not choice or choice[0] in ("s", "S"): pass - elif test[0] in ("n", "N"): + elif choice[0] in ("n", "N"): return None - elif test[0] in ("e", "E"): + elif choice[0] in ("e", "E"): kb.endDetection = True - elif test[0] in ("q", "Q"): + elif choice[0] in ("q", "Q"): raise sqlmapUserQuitException finally: