mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
minor fix
This commit is contained in:
parent
44435adc4a
commit
9bc9302e58
|
@ -303,18 +303,21 @@ def start():
|
||||||
raise
|
raise
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
warnMsg = "Ctrl+C detected"
|
if conf.multipleTargets:
|
||||||
logger.warn(warnMsg)
|
warnMsg = "Ctrl+C detected"
|
||||||
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
message = "\ndo you want to skip to the next target in list [Y/n/q]"
|
message = "\ndo you want to skip to the next target in list [Y/n/q]"
|
||||||
test = readInput(message, default="Y")
|
test = readInput(message, default="Y")
|
||||||
|
|
||||||
if not test or test[0] in ("y", "Y"):
|
if not test or test[0] in ("y", "Y"):
|
||||||
pass
|
pass
|
||||||
elif test[0] in ("n", "N"):
|
elif test[0] in ("n", "N"):
|
||||||
return False
|
return False
|
||||||
elif test[0] in ("q", "Q"):
|
elif test[0] in ("q", "Q"):
|
||||||
raise sqlmapUserQuitException
|
raise sqlmapUserQuitException
|
||||||
|
else:
|
||||||
|
raise
|
||||||
|
|
||||||
except sqlmapUserQuitException:
|
except sqlmapUserQuitException:
|
||||||
raise
|
raise
|
||||||
|
|
Loading…
Reference in New Issue
Block a user