mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-15 12:29:56 +00:00
Fix for -D/-T lists with spaces after commas (e.g. -T 'users, creds')
This commit is contained in:
parent
7827b2c389
commit
7944f0e7e8
2 changed files with 4 additions and 3 deletions
|
|
@ -2119,8 +2119,9 @@ def _cleanupOptions():
|
|||
if conf.torType:
|
||||
conf.torType = conf.torType.upper()
|
||||
|
||||
if conf.col:
|
||||
conf.col = re.sub(r"\s*,\s*", ',', conf.col)
|
||||
for _ in ("db", "tbl", "col"):
|
||||
if conf.get(_):
|
||||
conf[_] = re.sub(r"\s*,\s*", ',', conf[_])
|
||||
|
||||
if conf.exclude:
|
||||
regex = False
|
||||
|
|
|
|||
|
|
@ -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.35"
|
||||
VERSION = "1.10.11.36"
|
||||
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