mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-09 14:11:29 +00:00
more update for ms access
This commit is contained in:
@@ -700,11 +700,21 @@ class Enumeration:
|
|||||||
return kb.data.cachedDbs
|
return kb.data.cachedDbs
|
||||||
|
|
||||||
def getTables(self):
|
def getTables(self):
|
||||||
|
bruteForce = False
|
||||||
|
|
||||||
if kb.dbms == "MySQL" and not kb.data.has_information_schema:
|
if kb.dbms == "MySQL" and not kb.data.has_information_schema:
|
||||||
errMsg = "information_schema not available, "
|
errMsg = "information_schema not available, "
|
||||||
errMsg += "back-end DBMS is MySQL < 5.0"
|
errMsg += "back-end DBMS is MySQL < 5.0"
|
||||||
logger.error(errMsg)
|
logger.error(errMsg)
|
||||||
|
bruteForce = True
|
||||||
|
|
||||||
|
elif kb.dbms == "Microsoft Access":
|
||||||
|
errMsg = "cannot retrieve table names, "
|
||||||
|
errMsg += "back-end DBMS is Access"
|
||||||
|
logger.error(errMsg)
|
||||||
|
bruteForce = True
|
||||||
|
|
||||||
|
if bruteForce:
|
||||||
message = "do you want to use common table existance check? [Y/n/q]"
|
message = "do you want to use common table existance check? [Y/n/q]"
|
||||||
test = readInput(message, default="Y")
|
test = readInput(message, default="Y")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user