mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
fix/update for Access
This commit is contained in:
parent
29b7c5366c
commit
d7dbf814a0
|
@ -28,6 +28,10 @@ class Enumeration(GenericEnumeration):
|
|||
|
||||
return None
|
||||
|
||||
def getCurrentDb(self):
|
||||
warnMsg = "on Microsoft Access it is not possible to get name of the current database"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
def getPasswordHashes(self):
|
||||
warnMsg = "on Microsoft Access it is not possible to enumerate the user password hashes"
|
||||
logger.warn(warnMsg)
|
||||
|
@ -39,3 +43,9 @@ class Enumeration(GenericEnumeration):
|
|||
logger.warn(warnMsg)
|
||||
|
||||
return []
|
||||
|
||||
def dumpTable(self):
|
||||
warnMsg = "on Microsoft Access it is not yet implemented dumping of tables"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
return None
|
|
@ -23,7 +23,7 @@ class Enumeration(GenericEnumeration):
|
|||
logger.warn(warnMsg)
|
||||
|
||||
def getCurrentDb(self):
|
||||
warnMsg = "on SQLite it is not possible to enumerate the current database"
|
||||
warnMsg = "on SQLite it is not possible to get name of the current database"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
def isDba(self):
|
||||
|
|
|
@ -1259,6 +1259,9 @@ class Enumeration:
|
|||
conf.col = None
|
||||
kb.data.cachedDbs = []
|
||||
kb.data.cachedTables = self.getTables()
|
||||
|
||||
if isinstance(kb.data.cachedTables, list):
|
||||
kb.data.cachedTables = { None : kb.data.cachedTables }
|
||||
|
||||
for db, tables in kb.data.cachedTables.items():
|
||||
conf.db = db
|
||||
|
|
Loading…
Reference in New Issue
Block a user