mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Minor bug fix
This commit is contained in:
parent
0eb5fb1e5a
commit
3cfa63646b
|
@ -275,7 +275,7 @@ class Agent(object):
|
|||
inferenceQuery = inference.query
|
||||
|
||||
payload = payload.replace("[INFERENCE]", inferenceQuery)
|
||||
else:
|
||||
elif not kb.testMode:
|
||||
errMsg = "invalid usage of inference payload without "
|
||||
errMsg += "knowledge of underlying DBMS"
|
||||
raise SqlmapNoneDataException(errMsg)
|
||||
|
|
|
@ -286,13 +286,14 @@ def _goBooleanProxy(expression):
|
|||
|
||||
initTechnique(kb.technique)
|
||||
|
||||
query = agent.prefixQuery(kb.injection.data[kb.technique].vector)
|
||||
query = agent.suffixQuery(query)
|
||||
payload = agent.payload(newValue=query)
|
||||
output = _goDns(payload, expression)
|
||||
if conf.dnsName:
|
||||
query = agent.prefixQuery(kb.injection.data[kb.technique].vector)
|
||||
query = agent.suffixQuery(query)
|
||||
payload = agent.payload(newValue=query)
|
||||
output = _goDns(payload, expression)
|
||||
|
||||
if output is not None:
|
||||
return output
|
||||
if output is not None:
|
||||
return output
|
||||
|
||||
vector = kb.injection.data[kb.technique].vector
|
||||
vector = vector.replace("[INFERENCE]", expression)
|
||||
|
|
Loading…
Reference in New Issue
Block a user