diff --git a/plugins/dbms/maxdb/enumeration.py b/plugins/dbms/maxdb/enumeration.py index dda79a005..f7e0880cb 100644 --- a/plugins/dbms/maxdb/enumeration.py +++ b/plugins/dbms/maxdb/enumeration.py @@ -38,8 +38,11 @@ class Enumeration(GenericEnumeration): def getColumns(self, onlyColNames=False): if not conf.tbl: - errMsg = "missing table parameter" - raise sqlmapMissingMandatoryOptionException, errMsg + warnMsg = "missing table parameter, sqlmap will enumerate " + warnMsg += "the whole database management system schema" + logger.warn(warnMsg) + + return self.getSchema() if "." in conf.tbl: conf.db, conf.tbl = conf.tbl.split(".") diff --git a/plugins/dbms/sybase/enumeration.py b/plugins/dbms/sybase/enumeration.py index 4bc3200e1..e4ede88ac 100644 --- a/plugins/dbms/sybase/enumeration.py +++ b/plugins/dbms/sybase/enumeration.py @@ -48,8 +48,11 @@ class Enumeration(GenericEnumeration): def getColumns(self, onlyColNames=False): if not conf.tbl: - errMsg = "missing table parameter" - raise sqlmapMissingMandatoryOptionException, errMsg + warnMsg = "missing table parameter, sqlmap will enumerate " + warnMsg += "the whole database management system schema" + logger.warn(warnMsg) + + return self.getSchema() if "." in conf.tbl: conf.db, conf.tbl = conf.tbl.split(".")