From 62f94f6587d2c051e88e8a005c798ec276382d32 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 26 Jan 2016 07:52:25 +0100 Subject: [PATCH] Adding comments (Issue #1681) --- lib/controller/checks.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 52a980ba5..fcb10818c 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -781,19 +781,19 @@ def checkFalsePositives(injection): if PAYLOAD.TECHNIQUE.BOOLEAN not in injection.data: checkBooleanExpression("%d=%d" % (randInt1, randInt2)) - if checkBooleanExpression("%d=%d" % (randInt1, randInt3)): + if checkBooleanExpression("%d=%d" % (randInt1, randInt3)): # this must not be evaluated to True retVal = None break - elif checkBooleanExpression("%d=%d" % (randInt3, randInt2)): + elif checkBooleanExpression("%d=%d" % (randInt3, randInt2)): # this must not be evaluated to True retVal = None break - elif not checkBooleanExpression("%d=%d" % (randInt2, randInt2)): + elif not checkBooleanExpression("%d=%d" % (randInt2, randInt2)): # this must be evaluated to True retVal = None break - elif checkBooleanExpression("%d %d" % (randInt3, randInt2)): + elif checkBooleanExpression("%d %d" % (randInt3, randInt2)): # this must not be evaluated to True (invalid statement) retVal = None break