mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
Minor consistency patch (Issue #475)
This commit is contained in:
parent
e3124b9176
commit
017ce22a2f
|
@ -33,7 +33,7 @@ class DBMS:
|
|||
PGSQL = "PostgreSQL"
|
||||
SQLITE = "SQLite"
|
||||
SYBASE = "Sybase"
|
||||
HSQLDB = "HyperSQL"
|
||||
HSQLDB = "HSQLDB"
|
||||
|
||||
class DBMS_DIRECTORY_NAME:
|
||||
ACCESS = "access"
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user