diff --git a/lib/controller/controller.py b/lib/controller/controller.py index d2308f3f8..0b68c907f 100644 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -353,13 +353,13 @@ def start(): proceed = not kb.endDetection - # In case when user wants to end detection phase (Ctrl+C) - if not proceed: - break - if injection is not None and injection.place is not None: kb.injections.append(injection) + # In case when user wants to end detection phase (Ctrl+C) + if not proceed: + break + msg = "%s parameter '%s' " % (injection.place, injection.parameter) msg += "is vulnerable. Do you want to keep testing the others? [y/N] " test = readInput(msg, default="N")