mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor cleanup and one bug fix
This commit is contained in:
parent
c8a0c525fc
commit
fc8eede952
19 changed files with 91 additions and 106 deletions
|
|
@ -482,7 +482,7 @@ def attackDumpedTable():
|
|||
storeHashesToFile(attack_dict)
|
||||
|
||||
message = "do you want to crack them via a dictionary-based attack? %s" % ("[y/N/q]" if conf.multipleTargets else "[Y/n/q]")
|
||||
choice = readInput(message, default='N' if conf.multipleTargets else 'Y').strip().upper()
|
||||
choice = readInput(message, default='N' if conf.multipleTargets else 'Y').upper()
|
||||
|
||||
if choice == 'N':
|
||||
return
|
||||
|
|
|
|||
|
|
@ -111,11 +111,11 @@ def _search(dork):
|
|||
message += "\n[1] (re)try with DuckDuckGo (default)"
|
||||
message += "\n[2] (re)try with Disconnect Search"
|
||||
message += "\n[3] quit"
|
||||
choice = readInput(message, default="1").strip().upper()
|
||||
choice = readInput(message, default='1')
|
||||
|
||||
if choice == "Q":
|
||||
if choice == '3':
|
||||
raise SqlmapUserQuitException
|
||||
elif choice == "2":
|
||||
elif choice == '2':
|
||||
url = "https://search.disconnect.me/searchTerms/search?"
|
||||
url += "start=nav&option=Web"
|
||||
url += "&query=%s" % urlencode(dork, convall=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue