Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 46f42f2

Browse files
committed
minor fix
1 parent f2857e3 commit 46f42f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/techniques/blind/inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def getChar(idx, charTbl=asciiTbl, continuousOrder=True, expand=charsetType is N
211211
else:
212212
# e.g.: ... > '%c' -> ... > ORD(..)
213213
markingValue = "'%s'" % CHAR_INFERENCE_MARK
214-
unescapedCharValue = unescaper.unescape(markingValue % decodeIntToUnicode(posValue))
214+
unescapedCharValue = unescaper.unescape("'%s'" % decodeIntToUnicode(posValue))
215215
forgedPayload = safeStringFormat(payload, (expressionUnescaped, idx)).replace(markingValue, unescapedCharValue)
216216

217217
queriesCount[0] += 1

0 commit comments

Comments
 (0)