From 0ba07e93d5a2649ac75b21cd5ce8c43c0a66004f Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 26 Jul 2020 19:34:30 +0200 Subject: [PATCH] Fixes #4284 --- lib/core/option.py | 2 +- lib/core/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/option.py b/lib/core/option.py index 545588b0b..59924fb43 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -982,7 +982,7 @@ def _setHTTPHandlers(): """ with kb.locks.handlers: - if conf.proxyList is not None: + if conf.proxyList: conf.proxy = conf.proxyList[0] conf.proxyList = conf.proxyList[1:] + conf.proxyList[:1] diff --git a/lib/core/settings.py b/lib/core/settings.py index d89ebea94..3f2e1d58b 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.4.7.16" +VERSION = "1.4.7.17" 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)