diff --git a/lib/core/common.py b/lib/core/common.py index 0c7349848..e3a21ef96 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -3824,7 +3824,7 @@ def removeReflectiveValues(content, payload, suppressWarning=False): # Note: naive approach retVal = content.replace(payload, REFLECTED_VALUE_MARKER) - retVal = content.replace(re.sub(r"\A\w+", "", payload), REFLECTED_VALUE_MARKER) + retVal = retVal.replace(re.sub(r"\A\w+", "", payload), REFLECTED_VALUE_MARKER) if len(parts) > REFLECTED_MAX_REGEX_PARTS: # preventing CPU hogs regex = _("%s%s%s" % (REFLECTED_REPLACEMENT_REGEX.join(parts[:REFLECTED_MAX_REGEX_PARTS // 2]), REFLECTED_REPLACEMENT_REGEX, REFLECTED_REPLACEMENT_REGEX.join(parts[-REFLECTED_MAX_REGEX_PARTS // 2:]))) diff --git a/lib/core/settings.py b/lib/core/settings.py index 521c0435b..97ee3965d 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.116" +VERSION = "1.3.5.117" 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)