From 46f42f2fe4809dd4daec32d178169a3040260883 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 30 Jan 2012 13:10:35 +0000 Subject: [PATCH] minor fix --- lib/techniques/blind/inference.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/techniques/blind/inference.py b/lib/techniques/blind/inference.py index 932e8f161..72a1a75aa 100644 --- a/lib/techniques/blind/inference.py +++ b/lib/techniques/blind/inference.py @@ -211,7 +211,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None else: # e.g.: ... > '%c' -> ... > ORD(..) markingValue = "'%s'" % CHAR_INFERENCE_MARK - unescapedCharValue = unescaper.unescape(markingValue % decodeIntToUnicode(posValue)) + unescapedCharValue = unescaper.unescape("'%s'" % decodeIntToUnicode(posValue)) forgedPayload = safeStringFormat(payload, (expressionUnescaped, idx)).replace(markingValue, unescapedCharValue) queriesCount[0] += 1