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

Skip to content

Commit 5810c2b

Browse files
committed
Minor patch
1 parent 77f0b5d commit 5810c2b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.6.2"
22+
VERSION = "1.0.6.3"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

plugins/dbms/mysql/fingerprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def checkDbms(self):
185185
return False
186186

187187
if hashDBRetrieve(HASHDB_KEYS.DBMS_FORK) is None:
188-
hashDBWrite(HASHDB_KEYS.DBMS_FORK, inject.checkBooleanExpression("@@USERSTAT LIKE @@USERSTAT") and "MariaDB" or "")
188+
hashDBWrite(HASHDB_KEYS.DBMS_FORK, inject.checkBooleanExpression("VERSION() LIKE '%MariaDB%'") and "MariaDB" or "")
189189

190190
# reading information_schema on some platforms is causing annoying timeout exits
191191
# Reference: http://bugs.mysql.com/bug.php?id=15855

0 commit comments

Comments
 (0)