From 7ef286a76ff48e27a9e90c967c940513c6edf9c5 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 28 May 2010 10:33:09 +0000 Subject: [PATCH] some speed up --- lib/techniques/blind/inference.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/techniques/blind/inference.py b/lib/techniques/blind/inference.py index e26ff3ded..cd5acc5bb 100644 --- a/lib/techniques/blind/inference.py +++ b/lib/techniques/blind/inference.py @@ -401,6 +401,9 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None queriesCount[0] += 1 result = Request.queryPage(urlencode(agent.payload(newValue=query))) + # We've used the singleValue and for sure we won't need it again + kb.commonOutputs[kb.partRun].remove(singleValue) + # Did we have luck? if result: dataToSessionFile(replaceNewlineTabs(singleValue[index-1:]))