minor comment update

This commit is contained in:
Miroslav Stampar 2010-12-05 11:15:09 +00:00
parent 191ba3118f
commit 7a5cd3b35f

View File

@ -265,7 +265,10 @@ def checkSqlInjection(place, parameter, value):
elif where == 2: elif where == 2:
origValue = "-%s" % randomInt() 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) pushValue(kb.pageTemplate)
kb.pageTemplate, _ = Request.queryPage(agent.payload(place, parameter, value, origValue), place, content=True) kb.pageTemplate, _ = Request.queryPage(agent.payload(place, parameter, value, origValue), place, content=True)
elif where == 3: elif where == 3: