mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-21 14:02:49 +03:00
More appropriate naming (also, preventing ambiguities with --smart)
This commit is contained in:
parent
4b2cf07262
commit
1b3f1a4016
|
@ -243,7 +243,7 @@ class PAYLOAD:
|
||||||
|
|
||||||
class WIZARD:
|
class WIZARD:
|
||||||
BASIC = ("getBanner", "getCurrentUser", "getCurrentDb", "isDba")
|
BASIC = ("getBanner", "getCurrentUser", "getCurrentDb", "isDba")
|
||||||
SMART = ("getBanner", "getCurrentUser", "getCurrentDb", "isDba", "getUsers", "getDbs", "getTables", "getSchema", "excludeSysDbs")
|
INTERMEDIATE = ("getBanner", "getCurrentUser", "getCurrentDb", "isDba", "getUsers", "getDbs", "getTables", "getSchema", "excludeSysDbs")
|
||||||
ALL = ("getBanner", "getCurrentUser", "getCurrentDb", "isDba", "getHostname", "getUsers", "getPasswordHashes", "getPrivileges", "getRoles", "dumpAll")
|
ALL = ("getBanner", "getCurrentUser", "getCurrentDb", "isDba", "getHostname", "getUsers", "getPasswordHashes", "getPrivileges", "getRoles", "dumpAll")
|
||||||
|
|
||||||
class ADJUST_TIME_DELAY:
|
class ADJUST_TIME_DELAY:
|
||||||
|
|
|
@ -1729,11 +1729,11 @@ def _useWizardInterface():
|
||||||
|
|
||||||
while choice is None or choice not in ("", "1", "2", "3"):
|
while choice is None or choice not in ("", "1", "2", "3"):
|
||||||
message = "Enumeration (--banner/--current-user/etc). Please choose:\n"
|
message = "Enumeration (--banner/--current-user/etc). Please choose:\n"
|
||||||
message += "[1] Basic (default)\n[2] Smart\n[3] All"
|
message += "[1] Basic (default)\n[2] Intermediate\n[3] All"
|
||||||
choice = readInput(message, default='1')
|
choice = readInput(message, default='1')
|
||||||
|
|
||||||
if choice == '2':
|
if choice == '2':
|
||||||
map(lambda x: conf.__setitem__(x, True), WIZARD.SMART)
|
map(lambda x: conf.__setitem__(x, True), WIZARD.INTERMEDIATE)
|
||||||
elif choice == '3':
|
elif choice == '3':
|
||||||
map(lambda x: conf.__setitem__(x, True), WIZARD.ALL)
|
map(lambda x: conf.__setitem__(x, True), WIZARD.ALL)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user