mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-20 18:54:02 +00:00
Minor bug fix for a reflection removal mechanism
This commit is contained in:
parent
235cc656b9
commit
965d7eee17
1 changed files with 1 additions and 1 deletions
|
|
@ -2680,7 +2680,7 @@ def removeReflectiveValues(content, payload, suppressWarning=False):
|
||||||
value = value.replace(2 * REFLECTED_REPLACEMENT_REGEX, REFLECTED_REPLACEMENT_REGEX)
|
value = value.replace(2 * REFLECTED_REPLACEMENT_REGEX, REFLECTED_REPLACEMENT_REGEX)
|
||||||
return value
|
return value
|
||||||
|
|
||||||
payload = getUnicode(urldecode(payload.replace(PAYLOAD_DELIMITER, '')))
|
payload = getUnicode(urldecode(payload.replace(PAYLOAD_DELIMITER, ''), convall=True))
|
||||||
regex = _(filterStringValue(payload, r"[A-Za-z0-9]", REFLECTED_REPLACEMENT_REGEX.encode("string-escape")))
|
regex = _(filterStringValue(payload, r"[A-Za-z0-9]", REFLECTED_REPLACEMENT_REGEX.encode("string-escape")))
|
||||||
|
|
||||||
if regex != payload:
|
if regex != payload:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue