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"
SQLITE = "SQLite"
SYBASE = "Sybase"
HSQLDB = "HyperSQL"
HSQLDB = "HSQLDB"
class DBMS_DIRECTORY_NAME:
ACCESS = "access"

View File

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

View File

@ -13,9 +13,9 @@ class Filesystem(GenericFilesystem):
GenericFilesystem.__init__(self)
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)
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)

View File

@ -146,5 +146,5 @@ class Fingerprint(GenericFingerprint):
return False
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)

View File

@ -13,19 +13,19 @@ class Takeover(GenericTakeover):
GenericTakeover.__init__(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)
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)
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"
raise SqlmapUnsupportedFeatureException(errMsg)
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"
raise SqlmapUnsupportedFeatureException(errMsg)