diff --git a/lib/controller/checks.py b/lib/controller/checks.py index cb8ecda51..3f23b1a6f 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -265,7 +265,10 @@ def checkSqlInjection(place, parameter, value): elif where == 2: origValue = "-%s" % randomInt() - # Save old page template and replace with new one + # Save original page template and replace with current one + # as we are changing parameters value, which will result + # most definitely with a different "page template" used by the + # comparison engine pushValue(kb.pageTemplate) kb.pageTemplate, _ = Request.queryPage(agent.payload(place, parameter, value, origValue), place, content=True) elif where == 3: