Skip to content

Commit 439d1cc

Browse files
committed
Fixes #5031
1 parent dcf304c commit 439d1cc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.6.3.12"
23+
VERSION = "1.6.3.13"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

plugins/dbms/mysql/fingerprint.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,8 @@ def checkDbms(self):
166166
if not conf.extensiveFp and Backend.isDbmsWithin(MYSQL_ALIASES):
167167
setDbms("%s %s" % (DBMS.MYSQL, Backend.getVersion()))
168168

169-
if Backend.isVersionGreaterOrEqualThan("5"):
169+
if Backend.isVersionGreaterOrEqualThan("5") or inject.checkBooleanExpression("DATABASE() LIKE SCHEMA()"):
170170
kb.data.has_information_schema = True
171-
172171
self.getBanner()
173172

174173
return True

0 commit comments

Comments
 (0)