mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Fixes #2511
This commit is contained in:
parent
ff5a954980
commit
347ce87e27
3 changed files with 4 additions and 3 deletions
|
|
@ -316,6 +316,7 @@ class Agent(object):
|
|||
payload = payload.replace(_, randomStr())
|
||||
|
||||
if origValue is not None and "[ORIGVALUE]" in payload:
|
||||
origValue = getUnicode(origValue)
|
||||
payload = getUnicode(payload).replace("[ORIGVALUE]", origValue if origValue.isdigit() else unescaper.escape("'%s'" % origValue))
|
||||
|
||||
if "[INFERENCE]" in payload:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue