minor fix for end phase (Ctrl+C)

This commit is contained in:
Miroslav Stampar
2010-12-21 23:55:55 +00:00
parent fb75d0636b
commit d974a966b8
3 changed files with 8 additions and 6 deletions

View File

@@ -351,6 +351,12 @@ def start():
injection = checkSqlInjection(place, parameter, value)
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)