diff --git a/plugins/dbms/access/enumeration.py b/plugins/dbms/access/enumeration.py index f8871ed43..ff959ebe4 100644 --- a/plugins/dbms/access/enumeration.py +++ b/plugins/dbms/access/enumeration.py @@ -14,28 +14,44 @@ class Enumeration(GenericEnumeration): def __init__(self): GenericEnumeration.__init__(self) - def getDbs(self): - warnMsg = "on Microsoft Access it is not possible to enumerate databases" - logger.warn(warnMsg) - - return [] - def getBanner(self): warnMsg = "on Microsoft Access it is not possible to get a banner" logger.warn(warnMsg) return None + def getCurrentUser(self): + warnMsg = "on Microsoft Access it is not possible to enumerate the current user" + logger.warn(warnMsg) + def getCurrentDb(self): warnMsg = "on Microsoft Access it is not possible to get name of the current database" logger.warn(warnMsg) + def getUsers(self): + warnMsg = "on Microsoft Access it is not possible to enumerate the users" + logger.warn(warnMsg) + + return [] + def getPasswordHashes(self): warnMsg = "on Microsoft Access it is not possible to enumerate the user password hashes" logger.warn(warnMsg) return {} + def getPrivileges(self, *args): + warnMsg = "on Microsoft Access it is not possible to enumerate the user privileges" + logger.warn(warnMsg) + + return {} + + def getDbs(self): + warnMsg = "on Microsoft Access it is not possible to enumerate databases" + logger.warn(warnMsg) + + return [] + def searchDb(self): warnMsg = "on Microsoft Access it is not possible to search databases" logger.warn(warnMsg) @@ -53,19 +69,3 @@ class Enumeration(GenericEnumeration): logger.warn(warnMsg) return [] - - def getCurrentUser(self): - warnMsg = "on Microsoft Access it is not possible to enumerate the current user" - logger.warn(warnMsg) - - def getUsers(self): - warnMsg = "on Microsoft Access it is not possible to enumerate the users" - logger.warn(warnMsg) - - return [] - - def getPrivileges(self, *args): - warnMsg = "on Microsoft Access it is not possible to enumerate the user privileges" - logger.warn(warnMsg) - - return {}