mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-18 20:13:34 +03:00
switching few readInput defaults for brute forcing when no table/column found
This commit is contained in:
parent
1e45ee9ab6
commit
c7a606637f
|
@ -840,8 +840,8 @@ class Enumeration:
|
||||||
|
|
||||||
return kb.data.cachedTables
|
return kb.data.cachedTables
|
||||||
|
|
||||||
message = "do you want to use common table existence check? [Y/n/q]"
|
message = "do you want to use common table existence check? %s" % ("[Y/n/q]" if Backend.getIdentifiedDbms() in (DBMS.ACCESS,) else "[y/N/q]")
|
||||||
test = readInput(message, default="Y")
|
test = readInput(message, default="Y" if "Y" in message else "N")
|
||||||
|
|
||||||
if test[0] in ("n", "N"):
|
if test[0] in ("n", "N"):
|
||||||
return
|
return
|
||||||
|
@ -1060,8 +1060,8 @@ class Enumeration:
|
||||||
|
|
||||||
return kb.data.cachedColumns
|
return kb.data.cachedColumns
|
||||||
|
|
||||||
message = "do you want to use common columns existence check? [Y/n/q]"
|
message = "do you want to use common column existence check? %s" % ("[Y/n/q]" if Backend.getIdentifiedDbms() in (DBMS.ACCESS,) else "[y/N/q]")
|
||||||
test = readInput(message, default="Y")
|
test = readInput(message, default="Y" if "Y" in message else "N")
|
||||||
|
|
||||||
if test[0] in ("n", "N"):
|
if test[0] in ("n", "N"):
|
||||||
return
|
return
|
||||||
|
@ -1979,8 +1979,8 @@ class Enumeration:
|
||||||
bruteForce = True
|
bruteForce = True
|
||||||
|
|
||||||
if bruteForce:
|
if bruteForce:
|
||||||
message = "do you want to use common table existence check? [Y/n/q]"
|
message = "do you want to use common table existence check? %s" % ("[Y/n/q]" if Backend.getIdentifiedDbms() in (DBMS.ACCESS,) else "[y/N/q]")
|
||||||
test = readInput(message, default="Y")
|
test = readInput(message, default="Y" if "Y" in message else "N")
|
||||||
|
|
||||||
if test[0] in ("n", "N"):
|
if test[0] in ("n", "N"):
|
||||||
return
|
return
|
||||||
|
@ -2130,8 +2130,8 @@ class Enumeration:
|
||||||
bruteForce = True
|
bruteForce = True
|
||||||
|
|
||||||
if bruteForce:
|
if bruteForce:
|
||||||
message = "do you want to use common columns existence check? [Y/n/q]"
|
message = "do you want to use common column existence check? %s" % ("[Y/n/q]" if Backend.getIdentifiedDbms() in (DBMS.ACCESS,) else "[y/N/q]")
|
||||||
test = readInput(message, default="Y")
|
test = readInput(message, default="Y" if "Y" in message else "N")
|
||||||
|
|
||||||
if test[0] in ("n", "N"):
|
if test[0] in ("n", "N"):
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user