diff --git a/plugins/dbms/access/connector.py b/plugins/dbms/access/connector.py
index 712e9e921..9a4bf9f3e 100644
--- a/plugins/dbms/access/connector.py
+++ b/plugins/dbms/access/connector.py
@@ -52,7 +52,8 @@ class Connector(GenericConnector):
self.initConnection()
try:
- self.connector = pyodbc.connect(driver='{Microsoft Access Driver (*.mdb)}', dbq=self.db)
+ #self.connector = pyodbc.connect(driver='{Microsoft Access Driver (*.mdb)}', dbq=self.db, uid='Admin')
+ self.connector = pyodbc.connect('Driver={Microsoft Access Driver (*.mdb)};Dbq=%s;Uid=Admin;Pwd=;' % self.db)
except pyodbc.OperationalError, msg:
raise sqlmapConnectionException, msg[1]
diff --git a/plugins/dbms/access/enumeration.py b/plugins/dbms/access/enumeration.py
index 1598de4d3..c4670dded 100644
--- a/plugins/dbms/access/enumeration.py
+++ b/plugins/dbms/access/enumeration.py
@@ -29,7 +29,13 @@ from plugins.generic.enumeration import Enumeration as GenericEnumeration
class Enumeration(GenericEnumeration):
def __init__(self):
GenericEnumeration.__init__(self, "Microsoft Access")
+
+ 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)
diff --git a/xml/queries.xml b/xml/queries.xml
index 68825a450..941fb3a3e 100644
--- a/xml/queries.xml
+++ b/xml/queries.xml
@@ -320,6 +320,10 @@
+
+
+
+