From 9853c1ec7f5093bf1f515ba86f00d8afc883268b Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 25 Dec 2010 09:13:57 +0000 Subject: [PATCH] fix for a bug reported by alessio.dallapiazza@gmail.com (AttributeError: users) --- plugins/dbms/access/enumeration.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/plugins/dbms/access/enumeration.py b/plugins/dbms/access/enumeration.py index b4e89d04e..11b578fac 100644 --- a/plugins/dbms/access/enumeration.py +++ b/plugins/dbms/access/enumeration.py @@ -43,3 +43,19 @@ 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 {}