Minor fix for ctrl+c during detection phase

This commit is contained in:
Bernardo Damele 2010-12-22 13:15:44 +00:00
parent 08c88495d0
commit 5228f336da

View File

@ -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")