From 7a5cd3b35fba9a7d8844c93bf78e7d3729b2ff8e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 5 Dec 2010 11:15:09 +0000 Subject: [PATCH] minor comment update --- lib/controller/checks.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: