From 67ab79a62502500786311adea70dab8a411c082a Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 24 Nov 2023 01:39:24 +0100 Subject: [PATCH] Fixes #5574 --- lib/core/agent.py | 2 +- lib/core/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/agent.py b/lib/core/agent.py index d802f4c971e..d9949ea4f4d 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -891,7 +891,7 @@ def forgeUnionQuery(self, query, position, count, comment, prefix, suffix, char, if element > 0: unionQuery += ',' - if conf.uValues: + if conf.uValues and conf.uValues.count(',') + 1 == count: unionQuery += conf.uValues.split(',')[element] elif element == position: unionQuery += query diff --git a/lib/core/settings.py b/lib/core/settings.py index 5fec2e40754..82447cff3a3 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.7.11.2" +VERSION = "1.7.11.3" 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)