Added option --search to work in conjunction with -D (done), -T (soon) or -C (replaces --dump -C) - See #190:

* --search -D foobar: searches all database names like the ones provided
* --search -T foobar: searches all databases' table names like the ones provided (soon)
* --search -C foobar: replaces --dump -C
This commit is contained in:
Bernardo Damele
2010-05-07 13:40:57 +00:00
parent 7b6050f3c1
commit 65a05452f7
13 changed files with 516 additions and 338 deletions

View File

@@ -29,7 +29,7 @@ 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)
@@ -47,3 +47,9 @@ class Enumeration(GenericEnumeration):
logger.warn(warnMsg)
return {}
def searchDb(self):
warnMsg = "on Microsoft Access it is not possible to search databases"
logger.warn(warnMsg)
return []