Fix for SQLite columns with special characters in name (e.g. 'my col')

This commit is contained in:
Miroslav Štampar 2026-11-12 11:50:33 +01:00
parent c8422bf1f6
commit 77a31ee595
2 changed files with 2 additions and 2 deletions

View file

@ -3673,7 +3673,7 @@ def parseSqliteTableSchema(value):
continue
retVal = True
columns[column] = match.group(3) or "TEXT"
columns[safeSQLIdentificatorNaming(column)] = match.group(3) or "TEXT" # Note: stored escaped, as by all other column enumeration paths (e.g. 'my col' -> '`my col`')
table[safeSQLIdentificatorNaming(conf.tbl, True)] = columns
if conf.db in kb.data.cachedColumns:

View file

@ -19,7 +19,7 @@ from lib.core.enums import OS
from thirdparty import six
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.10.11.17"
VERSION = "1.10.11.18"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)