bug fix for boolean proxy when using time based payloads

This commit is contained in:
Miroslav Stampar 2010-12-23 23:46:08 +00:00
parent 7f7fb93155
commit 8470de7b76

View File

@ -112,6 +112,7 @@ def __goBooleanProxy(expression, resumeValue=True):
query = agent.prefixQuery(vector)
query = agent.suffixQuery(query)
payload = agent.payload(newValue=query)
timeBasedCompare = kb.technique in (PAYLOAD.TECHNIQUE.TIME, PAYLOAD.TECHNIQUE.STACKED)
if resumeValue:
output = resume(expression, payload)
@ -119,7 +120,7 @@ def __goBooleanProxy(expression, resumeValue=True):
output = None
if not output:
output = Request.queryPage(payload)
output = Request.queryPage(payload, timeBasedCompare=timeBasedCompare)
return output