mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-22 19:53:46 +00:00
Minor just in case update
This commit is contained in:
parent
a4fdbf1343
commit
1bd8c519c3
3 changed files with 4 additions and 4 deletions
|
|
@ -3545,7 +3545,7 @@ def removeReflectiveValues(content, payload, suppressWarning=False):
|
|||
return value
|
||||
|
||||
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 all(part.lower() in content.lower() for part in filter(None, regex.split(REFLECTED_REPLACEMENT_REGEX))[1:]): # fast optimization check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue