From f718425cf4ee82da0794821497fac523a8392838 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 24 May 2010 11:18:47 +0000 Subject: [PATCH] minor fix --- lib/techniques/blind/inference.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/techniques/blind/inference.py b/lib/techniques/blind/inference.py index bd8af735d..155d7a81a 100644 --- a/lib/techniques/blind/inference.py +++ b/lib/techniques/blind/inference.py @@ -157,7 +157,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None if kb.dbms == "SQLite": posValueOld = posValue - if posValue < 256: + if posValue < 128: posValue = chr(posValue) else: posValue = unichr(posValue) @@ -197,7 +197,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None if retVal < 128: return chr(retVal) else: - return unichr(retVal) #test value 50089 + return unichr(retVal) def etaProgressUpdate(charTime, index): if len(progressTime) <= ( (length * 3) / 100 ):