From 7944f0e7e84a59fd79ac42f2d9874a36f9fb0e4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0tampar?= Date: Thu, 12 Nov 2026 14:35:49 +0100 Subject: [PATCH] Fix for -D/-T lists with spaces after commas (e.g. -T 'users, creds') --- lib/core/option.py | 5 +++-- lib/core/settings.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/core/option.py b/lib/core/option.py index 58ea9d7b9..5cc7a6dc9 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -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 diff --git a/lib/core/settings.py b/lib/core/settings.py index b4ac1fa5e..2cf3e75e9 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from thirdparty import six # sqlmap version (...) -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)