diff --git a/lib/core/settings.py b/lib/core/settings.py index cf2bfa8e1..34351bc41 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.3.5.153" +VERSION = "1.3.5.154" 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) diff --git a/lib/request/connect.py b/lib/request/connect.py index fe0110285..c71b67844 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -1082,11 +1082,11 @@ class Connect(object): if token: token.value = token.value.strip("'\"") - for place in (PLACE.GET, PLACE.POST): - if place in conf.parameters: - if place == PLACE.GET and get: + for candidate in (PLACE.GET, PLACE.POST): + if candidate in conf.parameters: + if candidate == PLACE.GET and get: get = _adjustParameter(get, token.name, token.value) - elif place == PLACE.POST and post: + elif candidate == PLACE.POST and post: post = _adjustParameter(post, token.name, token.value) for i in xrange(len(conf.httpHeaders)):