mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03:00
minor update
This commit is contained in:
parent
5189f138d7
commit
a43d252ae9
|
@ -212,6 +212,10 @@ class Agent:
|
||||||
if kb.dbms is not None:
|
if kb.dbms is not None:
|
||||||
inferenceQuery = queries[kb.dbms].inference.query
|
inferenceQuery = queries[kb.dbms].inference.query
|
||||||
payload = payload.replace("[INFERENCE]", inferenceQuery)
|
payload = payload.replace("[INFERENCE]", inferenceQuery)
|
||||||
|
elif "[INFERENCE]" in payload:
|
||||||
|
errMsg = "invalid usage of inference payload without knowledge "
|
||||||
|
errMsg += "of underlying DBMS"
|
||||||
|
raise sqlmapNoneDataException, errMsg
|
||||||
|
|
||||||
return payload
|
return payload
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user