mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
bug fix for Ctrl+C
This commit is contained in:
parent
076560f59f
commit
91f665aaaa
2 changed files with 8 additions and 9 deletions
|
|
@ -412,15 +412,15 @@ def checkSqlInjection(place, parameter, value):
|
|||
if not test or test[0] in ("s", "S"):
|
||||
pass
|
||||
elif test[0] in ("n", "N"):
|
||||
break
|
||||
return None
|
||||
elif test[0] in ("e", "E"):
|
||||
kb.endDetection = True
|
||||
break
|
||||
return None
|
||||
elif test[0] in ("q", "Q"):
|
||||
raise sqlmapUserQuitException
|
||||
|
||||
# Flush the flag
|
||||
kb.testMode = False
|
||||
finally:
|
||||
# Flush the flag
|
||||
kb.testMode = False
|
||||
|
||||
# Return the injection object
|
||||
if injection.place is not None and injection.parameter is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue