Minor consistency patch (Issue #475)

This commit is contained in:
stamparm 2013-07-01 13:01:53 +02:00
parent e3124b9176
commit 017ce22a2f
5 changed files with 9 additions and 9 deletions

View File

@ -33,7 +33,7 @@ class DBMS:
PGSQL = "PostgreSQL" PGSQL = "PostgreSQL"
SQLITE = "SQLite" SQLITE = "SQLite"
SYBASE = "Sybase" SYBASE = "Sybase"
HSQLDB = "HyperSQL" HSQLDB = "HSQLDB"
class DBMS_DIRECTORY_NAME: class DBMS_DIRECTORY_NAME:
ACCESS = "access" ACCESS = "access"

View File

@ -17,7 +17,7 @@ from plugins.generic.misc import Miscellaneous
class HSQLDBMap(Syntax, Fingerprint, Enumeration, Filesystem, Miscellaneous, Takeover): class HSQLDBMap(Syntax, Fingerprint, Enumeration, Filesystem, Miscellaneous, Takeover):
""" """
This class defines HyperSQL methods This class defines HSQLDB methods
""" """
def __init__(self): def __init__(self):

View File

@ -13,9 +13,9 @@ class Filesystem(GenericFilesystem):
GenericFilesystem.__init__(self) GenericFilesystem.__init__(self)
def readFile(self, rFile): def readFile(self, rFile):
errMsg = "on HyperSQL it is not possible to read files" errMsg = "on HSQLDB it is not possible to read files"
raise SqlmapUnsupportedFeatureException(errMsg) raise SqlmapUnsupportedFeatureException(errMsg)
def writeFile(self, wFile, dFile, fileType=None, forceCheck=False): def writeFile(self, wFile, dFile, fileType=None, forceCheck=False):
errMsg = "on HyperSQL it is not possible to read files" errMsg = "on HSQLDB it is not possible to read files"
raise SqlmapUnsupportedFeatureException(errMsg) raise SqlmapUnsupportedFeatureException(errMsg)

View File

@ -146,5 +146,5 @@ class Fingerprint(GenericFingerprint):
return False return False
def getHostname(self): def getHostname(self):
warnMsg = "on HyperSQL it is not possible to enumerate the hostname" warnMsg = "on HSQLDB it is not possible to enumerate the hostname"
logger.warn(warnMsg) logger.warn(warnMsg)

View File

@ -13,19 +13,19 @@ class Takeover(GenericTakeover):
GenericTakeover.__init__(self) GenericTakeover.__init__(self)
def osCmd(self): def osCmd(self):
errMsg = "on HyperSQL it is not possible to execute commands" errMsg = "on HSQLDB it is not possible to execute commands"
raise SqlmapUnsupportedFeatureException(errMsg) raise SqlmapUnsupportedFeatureException(errMsg)
def osShell(self): def osShell(self):
errMsg = "on HyperSQL it is not possible to execute commands" errMsg = "on HSQLDB it is not possible to execute commands"
raise SqlmapUnsupportedFeatureException(errMsg) raise SqlmapUnsupportedFeatureException(errMsg)
def osPwn(self): def osPwn(self):
errMsg = "on HyperSQL it is not possible to establish an " errMsg = "on HSQLDB it is not possible to establish an "
errMsg += "out-of-band connection" errMsg += "out-of-band connection"
raise SqlmapUnsupportedFeatureException(errMsg) raise SqlmapUnsupportedFeatureException(errMsg)
def osSmb(self): def osSmb(self):
errMsg = "on HyperSQL it is not possible to establish an " errMsg = "on HSQLDB it is not possible to establish an "
errMsg += "out-of-band connection" errMsg += "out-of-band connection"
raise SqlmapUnsupportedFeatureException(errMsg) raise SqlmapUnsupportedFeatureException(errMsg)