mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
cosmetics
This commit is contained in:
parent
9bc9302e58
commit
06760182f1
|
@ -304,10 +304,10 @@ def start():
|
|||
|
||||
except KeyboardInterrupt:
|
||||
if conf.multipleTargets:
|
||||
warnMsg = "Ctrl+C detected"
|
||||
warnMsg = "Ctrl+C detected in multiple target mode"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
message = "\ndo you want to skip to the next target in list [Y/n/q]"
|
||||
message = "do you want to skip to the next target in list [Y/n/q]"
|
||||
test = readInput(message, default="Y")
|
||||
|
||||
if not test or test[0] in ("y", "Y"):
|
||||
|
|
|
@ -475,6 +475,8 @@ def readInput(message, default=None):
|
|||
|
||||
if "\n" in message:
|
||||
message += "\n> "
|
||||
elif message[-1] == ']':
|
||||
message += " "
|
||||
|
||||
if conf.batch and default:
|
||||
infoMsg = "%s%s" % (message, getUnicode(default))
|
||||
|
|
Loading…
Reference in New Issue
Block a user