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)