From c9d3974205221ca7c3406bcb48359efac3919da3 Mon Sep 17 00:00:00 2001 From: stamparm Date: Mon, 15 Jul 2013 13:54:02 +0200 Subject: [PATCH] Minor fix (templatePayload had duplicate string patterns for where==NEGATIVE) --- lib/controller/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 5e4c6e398..9cc427eb8 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -335,7 +335,7 @@ def checkSqlInjection(place, parameter, value): origValue = "%d.%d" % (randomInt(6), randomInt(1)) else: origValue = "-%s" % randomInt() - templatePayload = agent.payload(place, parameter, newValue=origValue, where=where) + templatePayload = agent.payload(place, parameter, value="", newValue=origValue, where=where) elif where == PAYLOAD.WHERE.REPLACE: origValue = ""