mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-03 11:45:46 +03:00
Changing default readInput value on dictionary-based attack depending on conf.multipleTargets
This commit is contained in:
parent
a62a874d59
commit
f1f6364690
|
@ -362,8 +362,8 @@ def attackDumpedTable():
|
|||
if attack_dict:
|
||||
message = "recognized possible password hashes in column%s " % ("s" if len(col_passwords) > 1 else "")
|
||||
message += "'%s'. Do you want to " % ", ".join(col for col in col_passwords)
|
||||
message += "crack them via a dictionary-based attack? [y/N/q]"
|
||||
test = readInput(message, default="N")
|
||||
message += "crack them via a dictionary-based attack? %s" % ("[y/N/q]" if conf.multipleTargets else "[Y/n/q]")
|
||||
test = readInput(message, default="N" if conf.multipleTargets else "Y")
|
||||
|
||||
if test[0] in ("n", "N"):
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue
Block a user