mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
Minor fix for ctrl+c during detection phase
This commit is contained in:
parent
08c88495d0
commit
5228f336da
|
@ -353,13 +353,13 @@ def start():
|
||||||
|
|
||||||
proceed = not kb.endDetection
|
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:
|
if injection is not None and injection.place is not None:
|
||||||
kb.injections.append(injection)
|
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 = "%s parameter '%s' " % (injection.place, injection.parameter)
|
||||||
msg += "is vulnerable. Do you want to keep testing the others? [y/N] "
|
msg += "is vulnerable. Do you want to keep testing the others? [y/N] "
|
||||||
test = readInput(msg, default="N")
|
test = readInput(msg, default="N")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user