Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 017ce22

Browse files
committed
Minor consistency patch (Issue #475)
1 parent e3124b9 commit 017ce22

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

lib/core/enums.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class DBMS:
3333
PGSQL = "PostgreSQL"
3434
SQLITE = "SQLite"
3535
SYBASE = "Sybase"
36-
HSQLDB = "HyperSQL"
36+
HSQLDB = "HSQLDB"
3737

3838
class DBMS_DIRECTORY_NAME:
3939
ACCESS = "access"

plugins/dbms/hsqldb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
class HSQLDBMap(Syntax, Fingerprint, Enumeration, Filesystem, Miscellaneous, Takeover):
1919
"""
20-
This class defines HyperSQL methods
20+
This class defines HSQLDB methods
2121
"""
2222

2323
def __init__(self):

plugins/dbms/hsqldb/filesystem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ def __init__(self):
1313
GenericFilesystem.__init__(self)
1414

1515
def readFile(self, rFile):
16-
errMsg = "on HyperSQL it is not possible to read files"
16+
errMsg = "on HSQLDB it is not possible to read files"
1717
raise SqlmapUnsupportedFeatureException(errMsg)
1818

1919
def writeFile(self, wFile, dFile, fileType=None, forceCheck=False):
20-
errMsg = "on HyperSQL it is not possible to read files"
20+
errMsg = "on HSQLDB it is not possible to read files"
2121
raise SqlmapUnsupportedFeatureException(errMsg)

plugins/dbms/hsqldb/fingerprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,5 +146,5 @@ def checkDbms(self):
146146
return False
147147

148148
def getHostname(self):
149-
warnMsg = "on HyperSQL it is not possible to enumerate the hostname"
149+
warnMsg = "on HSQLDB it is not possible to enumerate the hostname"
150150
logger.warn(warnMsg)

plugins/dbms/hsqldb/takeover.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ def __init__(self):
1313
GenericTakeover.__init__(self)
1414

1515
def osCmd(self):
16-
errMsg = "on HyperSQL it is not possible to execute commands"
16+
errMsg = "on HSQLDB it is not possible to execute commands"
1717
raise SqlmapUnsupportedFeatureException(errMsg)
1818

1919
def osShell(self):
20-
errMsg = "on HyperSQL it is not possible to execute commands"
20+
errMsg = "on HSQLDB it is not possible to execute commands"
2121
raise SqlmapUnsupportedFeatureException(errMsg)
2222

2323
def osPwn(self):
24-
errMsg = "on HyperSQL it is not possible to establish an "
24+
errMsg = "on HSQLDB it is not possible to establish an "
2525
errMsg += "out-of-band connection"
2626
raise SqlmapUnsupportedFeatureException(errMsg)
2727

2828
def osSmb(self):
29-
errMsg = "on HyperSQL it is not possible to establish an "
29+
errMsg = "on HSQLDB it is not possible to establish an "
3030
errMsg += "out-of-band connection"
3131
raise SqlmapUnsupportedFeatureException(errMsg)

0 commit comments

Comments
 (0)