diff --git a/plugins/dbms/mssqlserver.py b/plugins/dbms/mssqlserver.py index 6422fbf44..8f2f0403e 100644 --- a/plugins/dbms/mssqlserver.py +++ b/plugins/dbms/mssqlserver.py @@ -392,6 +392,11 @@ class MSSQLServerMap(Fingerprint, Enumeration, Filesystem, Miscellaneous, Takeov return kb.data.cachedTables + def dumpColumn(self): + errMsg = "Table(s) dump by providing only -C is not " + errMsg += "yet implemented for Microsoft SQL Server" + raise sqlmapUnsupportedFeatureException, errMsg + def unionReadFile(self, rFile): errMsg = "Microsoft SQL Server does not support file reading " errMsg += "with UNION query SQL injection technique" diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index 086b340f7..71921a767 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -930,8 +930,6 @@ class Enumeration: return kb.data.cachedColumns def dumpColumn(self): - # TODO: adjust for MSSQL - if kb.dbms == "MySQL" and not kb.data.has_information_schema: errMsg = "information_schema not available, " errMsg += "back-end DBMS is MySQL < 5.0"