From ca2f63c6725ed5651dc5037e6f6b0d104800792e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 10 Jul 2015 00:37:59 +0200 Subject: [PATCH] Test speed up in case of boolean based blind --- 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 aa4ee4f29..3b1bc7f0d 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -426,7 +426,7 @@ def checkSqlInjection(place, parameter, value): trueResult = Request.queryPage(reqPayload, place, raise404=False) truePage = threadData.lastComparisonPage or "" - if trueResult: + if trueResult and truePage != falsePage: falseResult = Request.queryPage(genCmpPayload(), place, raise404=False) # Perform the test's False request