quick fix

This commit is contained in:
Miroslav Stampar 2010-12-10 09:54:25 +00:00
parent 441fc8dbd9
commit 029a6abba2

View File

@ -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]", "(%s)" % expression)
vector = vector.replace("[INFERENCE]", "1=(%s)" % expression)
vector = agent.cleanupPayload(vector)
query = agent.prefixQuery(vector)