From 52e44df86c445e5eed8798e58e1d776688261431 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 1 Jan 2011 21:11:29 +0000 Subject: [PATCH] minor update --- lib/controller/controller.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/controller/controller.py b/lib/controller/controller.py index 530776457..56ea1d734 100644 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -387,7 +387,9 @@ def start(): __selectInjection() if kb.injection.place is not None and kb.injection.parameter is not None: - if conf.multipleTargets: + if kb.testQueryCount == 0 and conf.realTest: + condition = False + elif conf.multipleTargets: message = "do you want to exploit this SQL injection? [Y/n] " exploit = readInput(message, default="Y")