mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-18 05:57:23 +00:00
Fix for SQLite columns with special characters in name (e.g. 'my col')
This commit is contained in:
parent
c8422bf1f6
commit
77a31ee595
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue