diff --git a/lib/controller/checks.py b/lib/controller/checks.py index ed50fa1d8..99b4b70b2 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -324,6 +324,9 @@ def checkSqlInjection(place, parameter, value): # test's tag if where == PAYLOAD.WHERE.ORIGINAL or conf.prefix: origValue = value + + if kb.tamperFunctions: + templatePayload = agent.payload(place, parameter, value="", newValue=origValue, where=where) elif where == PAYLOAD.WHERE.NEGATIVE: # Use different page template than the original # one as we are changing parameters value, which