mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
minor update
This commit is contained in:
@@ -212,6 +212,10 @@ class Agent:
|
||||
if kb.dbms is not None:
|
||||
inferenceQuery = queries[kb.dbms].inference.query
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user