Display a better message for the moment while working on support for --dump -C on MSSQL

This commit is contained in:
Bernardo Damele 2010-01-10 00:30:45 +00:00
parent 6c1b31d93c
commit e5dc3f51c8
2 changed files with 5 additions and 2 deletions

View File

@ -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"

View File

@ -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"