Fix for an Issue #201

This commit is contained in:
Miroslav Stampar 2012-10-14 17:53:55 +02:00
parent 56832fe9c4
commit ed2d163269
6 changed files with 24 additions and 0 deletions

View File

@ -75,3 +75,7 @@ class Enumeration(GenericEnumeration):
def search(self):
warnMsg = "on Microsoft Access search option is not available"
logger.warn(warnMsg)
def getHostname(self):
warnMsg = "on Microsoft Access it is not possible to enumerate the hostname"
logger.warn(warnMsg)

View File

@ -45,3 +45,7 @@ class Enumeration(GenericEnumeration):
def search(self):
warnMsg = "on Firebird search option is not available"
logger.warn(warnMsg)
def getHostname(self):
warnMsg = "on Firebird it is not possible to enumerate the hostname"
logger.warn(warnMsg)

View File

@ -167,3 +167,7 @@ class Enumeration(GenericEnumeration):
logger.warn(warnMsg)
return []
def getHostname(self):
warnMsg = "on SAP MaxDB it is not possible to enumerate the hostname"
logger.warn(warnMsg)

View File

@ -10,3 +10,7 @@ from plugins.generic.enumeration import Enumeration as GenericEnumeration
class Enumeration(GenericEnumeration):
def __init__(self):
GenericEnumeration.__init__(self)
def getHostname(self):
warnMsg = "on PostgreSQL it is not possible to enumerate the hostname"
logger.warn(warnMsg)

View File

@ -62,3 +62,7 @@ class Enumeration(GenericEnumeration):
def searchColumn(self):
errMsg = "on SQLite you must specify the table and columns to dump"
raise sqlmapUnsupportedFeatureException, errMsg
def getHostname(self):
warnMsg = "on SQLite it is not possible to enumerate the hostname"
logger.warn(warnMsg)

View File

@ -270,3 +270,7 @@ class Enumeration(GenericEnumeration):
def search(self):
warnMsg = "on Sybase search option is not available"
logger.warn(warnMsg)
def getHostname(self):
warnMsg = "on Sybase it is not possible to enumerate the hostname"
logger.warn(warnMsg)