From 471d9ccd65221eec93c7ad37a34e681c6733e398 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 10 Dec 2010 10:11:25 +0000 Subject: [PATCH] another fix of my lala --- lib/request/inject.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/request/inject.py b/lib/request/inject.py index 812b1bb2d..3cf0077e3 100644 --- a/lib/request/inject.py +++ b/lib/request/inject.py @@ -98,7 +98,7 @@ def __goBooleanProxy(expression, resumeValue=True): kb.pageTemplate = getPageTemplate(kb.injection.data[kb.technique].templatePayload, kb.injection.place) vector = kb.injection.data[kb.technique].vector - vector = vector.replace("[INFERENCE]", "1=(%s)" % expression) + vector = vector.replace("[INFERENCE]", "(%s)" % expression) vector = agent.cleanupPayload(vector) query = agent.prefixQuery(vector) @@ -479,4 +479,4 @@ def goStacked(expression, silent=False): return payload, page def checkBooleanExpression(expression, expectingNone=False): - return getValue(agent.forgeCaseStatement(expression), expected="bool", expectingNone=expectingNone) + return getValue(expression, expected="bool", expectingNone=expectingNone)