mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +03:00
fix/update for Access
This commit is contained in:
parent
29b7c5366c
commit
d7dbf814a0
|
@ -28,6 +28,10 @@ class Enumeration(GenericEnumeration):
|
||||||
|
|
||||||
return None
|
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):
|
def getPasswordHashes(self):
|
||||||
warnMsg = "on Microsoft Access it is not possible to enumerate the user password hashes"
|
warnMsg = "on Microsoft Access it is not possible to enumerate the user password hashes"
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
@ -39,3 +43,9 @@ class Enumeration(GenericEnumeration):
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
return []
|
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)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
def getCurrentDb(self):
|
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)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
def isDba(self):
|
def isDba(self):
|
||||||
|
|
|
@ -1260,6 +1260,9 @@ class Enumeration:
|
||||||
kb.data.cachedDbs = []
|
kb.data.cachedDbs = []
|
||||||
kb.data.cachedTables = self.getTables()
|
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():
|
for db, tables in kb.data.cachedTables.items():
|
||||||
conf.db = db
|
conf.db = db
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user