From 9ff115ce71cc46df82a52303033ef3ef158148e3 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 10 Jul 2015 01:33:53 +0200 Subject: [PATCH] Minor patch --- 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 0cd4bbc82..b6901f923 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -432,7 +432,7 @@ def checkSqlInjection(place, parameter, value): trueResult = Request.queryPage(reqPayload, place, raise404=False) truePage = threadData.lastComparisonPage or "" - if trueResult and truePage != falsePage: + if trueResult and not(truePage == falsePage and not kb.nullConnection): falseResult = Request.queryPage(genCmpPayload(), place, raise404=False) # Perform the test's False request