Skip to content

Commit 62f94f6

Browse files
committed
Adding comments (Issue #1681)
1 parent f532ad3 commit 62f94f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/controller/checks.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -781,19 +781,19 @@ def _():
781781
if PAYLOAD.TECHNIQUE.BOOLEAN not in injection.data:
782782
checkBooleanExpression("%d=%d" % (randInt1, randInt2))
783783

784-
if checkBooleanExpression("%d=%d" % (randInt1, randInt3)):
784+
if checkBooleanExpression("%d=%d" % (randInt1, randInt3)): # this must not be evaluated to True
785785
retVal = None
786786
break
787787

788-
elif checkBooleanExpression("%d=%d" % (randInt3, randInt2)):
788+
elif checkBooleanExpression("%d=%d" % (randInt3, randInt2)): # this must not be evaluated to True
789789
retVal = None
790790
break
791791

792-
elif not checkBooleanExpression("%d=%d" % (randInt2, randInt2)):
792+
elif not checkBooleanExpression("%d=%d" % (randInt2, randInt2)): # this must be evaluated to True
793793
retVal = None
794794
break
795795

796-
elif checkBooleanExpression("%d %d" % (randInt3, randInt2)):
796+
elif checkBooleanExpression("%d %d" % (randInt3, randInt2)): # this must not be evaluated to True (invalid statement)
797797
retVal = None
798798
break
799799

0 commit comments

Comments
 (0)