From d8e5585c6620a4b600ecbba6b5a68d14cba36e87 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 29 Apr 2010 08:30:29 +0000 Subject: [PATCH] fixed a bug reported by Mosk Dmitri (infoMsg UnboundLocalError) --- doc/THANKS | 3 +++ lib/techniques/blind/inference.py | 1 + 2 files changed, 4 insertions(+) diff --git a/doc/THANKS b/doc/THANKS index 10cd249e4..b277e1db3 100644 --- a/doc/THANKS +++ b/doc/THANKS @@ -319,6 +319,9 @@ Stuffe Sylphid for suggesting some features +Mosk Dmitri + for reporting a minor bug + == Organizations == diff --git a/lib/techniques/blind/inference.py b/lib/techniques/blind/inference.py index bef1b7657..5bef97de7 100644 --- a/lib/techniques/blind/inference.py +++ b/lib/techniques/blind/inference.py @@ -304,6 +304,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None conf.threadContinue = False raise + infoMsg = None # If we have got one single character not correctly fetched it # can mean that the connection to the target url was lost if None in value: