From e1dbb4443b3022885bd3c898cfb4e1732e35630b Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 16 Aug 2011 07:01:14 +0000 Subject: [PATCH] minor update related to the last commit --- lib/techniques/blind/inference.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/techniques/blind/inference.py b/lib/techniques/blind/inference.py index 2396d2d89..8f2fe0154 100644 --- a/lib/techniques/blind/inference.py +++ b/lib/techniques/blind/inference.py @@ -275,8 +275,10 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None kb.adjustTimeDelay = False return getChar(idx, originalTbl, continuousOrder, expand) else: + errMsg = "unable to properly validate character value. using last known value ('%s').." % decodeIntToUnicode(retVal) + logger.error(errMsg) conf.timeSec = kb.originalTimeDelay - return None + return decodeIntToUnicode(retVal) else: return decodeIntToUnicode(retVal) else: