mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 16:24:25 +03:00
another fix of my lala
This commit is contained in:
parent
029a6abba2
commit
471d9ccd65
|
@ -98,7 +98,7 @@ def __goBooleanProxy(expression, resumeValue=True):
|
||||||
kb.pageTemplate = getPageTemplate(kb.injection.data[kb.technique].templatePayload, kb.injection.place)
|
kb.pageTemplate = getPageTemplate(kb.injection.data[kb.technique].templatePayload, kb.injection.place)
|
||||||
|
|
||||||
vector = kb.injection.data[kb.technique].vector
|
vector = kb.injection.data[kb.technique].vector
|
||||||
vector = vector.replace("[INFERENCE]", "1=(%s)" % expression)
|
vector = vector.replace("[INFERENCE]", "(%s)" % expression)
|
||||||
vector = agent.cleanupPayload(vector)
|
vector = agent.cleanupPayload(vector)
|
||||||
|
|
||||||
query = agent.prefixQuery(vector)
|
query = agent.prefixQuery(vector)
|
||||||
|
@ -479,4 +479,4 @@ def goStacked(expression, silent=False):
|
||||||
return payload, page
|
return payload, page
|
||||||
|
|
||||||
def checkBooleanExpression(expression, expectingNone=False):
|
def checkBooleanExpression(expression, expectingNone=False):
|
||||||
return getValue(agent.forgeCaseStatement(expression), expected="bool", expectingNone=expectingNone)
|
return getValue(expression, expected="bool", expectingNone=expectingNone)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user