Fix for an Issue #818

This commit is contained in:
Miroslav Stampar 2014-09-09 16:22:13 +02:00
parent 90869244fd
commit ae8c12c9c3

View File

@ -30,3 +30,13 @@ class Enumeration(GenericEnumeration):
kb.data.banner = unArrayizeValue(inject.getValue(query, safeCharEncode=True))
return kb.data.banner
def getPrivileges(self, *args):
warnMsg = "on HSQLDB it is not possible to enumerate the user privileges"
logger.warn(warnMsg)
return {}
def getHostname(self):
warnMsg = "on HSQLDB it is not possible to enumerate the hostname"
logger.warn(warnMsg)