Skip to content

Commit 1092dfb

Browse files
committed
Patch related to the #5192
1 parent bf4f84b commit 1092dfb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/core/common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4269,7 +4269,8 @@ def safeSQLIdentificatorNaming(name, isTable=False):
42694269
retVal = "[%s]" % retVal
42704270

42714271
if _ and DEFAULT_MSSQL_SCHEMA not in retVal and '.' not in re.sub(r"\[[^]]+\]", "", retVal):
4272-
retVal = "%s.%s" % (DEFAULT_MSSQL_SCHEMA, retVal)
4272+
if conf.db.lower() != "information_schema": # NOTE: https://github.com/sqlmapproject/sqlmap/issues/5192
4273+
retVal = "%s.%s" % (DEFAULT_MSSQL_SCHEMA, retVal)
42734274

42744275
return retVal
42754276

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.10.3"
23+
VERSION = "1.6.10.4"
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)

0 commit comments

Comments
 (0)