Skip to content

Commit d7ee423

Browse files
committed
Fixes #5202
1 parent 1092dfb commit d7ee423

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4269,7 +4269,7 @@ 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-
if conf.db.lower() != "information_schema": # NOTE: https://github.com/sqlmapproject/sqlmap/issues/5192
4272+
if (conf.db or "").lower() != "information_schema": # NOTE: https://github.com/sqlmapproject/sqlmap/issues/5192
42734273
retVal = "%s.%s" % (DEFAULT_MSSQL_SCHEMA, retVal)
42744274

42754275
return retVal

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.4"
23+
VERSION = "1.6.10.5"
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)