diff --git a/lib/core/settings.py b/lib/core/settings.py index 125c1a0e2..b3ee54790 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from thirdparty import six # sqlmap version (...) -VERSION = "1.10.11.9" +VERSION = "1.10.11.10" 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 c97c3244d..5b5207b9c 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -1245,8 +1245,9 @@ class Connect(object): delimiter = conf.paramDel or (DEFAULT_GET_POST_DELIMITER if place != PLACE.COOKIE else DEFAULT_COOKIE_DELIMITER) if not disableTampering and kb.tamperFunctions: + hints = {} # Note: shared among all tamper functions (e.g. 'luanginx,space2comment' must keep the former's HINT.PREPEND) + for function in kb.tamperFunctions: - hints = {} try: payload = function(payload=payload, headers=auxHeaders, delimiter=delimiter, hints=hints)