From afa4d2c514633dd1e8a0a9aa7357ad94ca987435 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 31 Aug 2021 13:04:45 +0200 Subject: [PATCH] Fixes #4783 --- lib/controller/controller.py | 4 ++-- lib/core/settings.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/controller/controller.py b/lib/controller/controller.py index e10a1d78b..224ee3cdb 100644 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -378,9 +378,9 @@ def start(): if conf.multipleTargets: if conf.forms and conf.method: - message = "[%d/%d] Form:\n%s %s" % (targetCount, len(kb.targets), conf.method, targetUrl) + message = "[%d/%s] Form:\n%s %s" % (targetCount, len(kb.targets) if isListLike(kb.targets) else '?', conf.method, targetUrl) else: - message = "[%d/%d] URL:\n%s %s" % (targetCount, len(kb.targets), HTTPMETHOD.GET, targetUrl) + message = "[%d/%s] URL:\n%s %s" % (targetCount, len(kb.targets) if isListLike(kb.targets) else '?', HTTPMETHOD.GET, targetUrl) if conf.cookie: message += "\nCookie: %s" % conf.cookie diff --git a/lib/core/settings.py b/lib/core/settings.py index 7916dbdc6..4501c904b 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from thirdparty import six from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.5.8.6" +VERSION = "1.5.8.7" 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)