mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Minor code refactoring and finally make exploitation work also on OR boolean-based injections
This commit is contained in:
@@ -213,9 +213,7 @@ class Agent:
|
||||
payload = payload.replace("[ORIGVALUE]", origvalue)
|
||||
|
||||
if kb.dbms is not None:
|
||||
# NOTE: ugly hack due to queries.xml's <inference> tag
|
||||
# starting with 'AND ' string
|
||||
inferenceQuery = queries[kb.dbms].inference.query[4:]
|
||||
inferenceQuery = queries[kb.dbms].inference.query
|
||||
payload = payload.replace("[INFERENCE]", inferenceQuery)
|
||||
|
||||
return payload
|
||||
|
||||
Reference in New Issue
Block a user