mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-19 21:10:36 +03:00
bug fix for boolean proxy when using time based payloads
This commit is contained in:
parent
7f7fb93155
commit
8470de7b76
|
@ -112,6 +112,7 @@ def __goBooleanProxy(expression, resumeValue=True):
|
||||||
query = agent.prefixQuery(vector)
|
query = agent.prefixQuery(vector)
|
||||||
query = agent.suffixQuery(query)
|
query = agent.suffixQuery(query)
|
||||||
payload = agent.payload(newValue=query)
|
payload = agent.payload(newValue=query)
|
||||||
|
timeBasedCompare = kb.technique in (PAYLOAD.TECHNIQUE.TIME, PAYLOAD.TECHNIQUE.STACKED)
|
||||||
|
|
||||||
if resumeValue:
|
if resumeValue:
|
||||||
output = resume(expression, payload)
|
output = resume(expression, payload)
|
||||||
|
@ -119,7 +120,7 @@ def __goBooleanProxy(expression, resumeValue=True):
|
||||||
output = None
|
output = None
|
||||||
|
|
||||||
if not output:
|
if not output:
|
||||||
output = Request.queryPage(payload)
|
output = Request.queryPage(payload, timeBasedCompare=timeBasedCompare)
|
||||||
|
|
||||||
return output
|
return output
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user