File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from 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 "
2323REVISION = getRevisionNumber ()
2424STABLE = VERSION .count ('.' ) <= 2
2525VERSION_STRING = "sqlmap/%s#%s" % (VERSION , "stable" if STABLE else "dev" )
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments