mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
more update for ms access
This commit is contained in:
parent
6ad8bbfc8e
commit
9d2c81baa9
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user