Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d7a77c7

Browse files
author
Martin Bjerregaard Jepsen
committed
Fixed incorrect call to checkBooleanExpression when testing for false positives
1 parent 3a3f9c5 commit d7a77c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/controller/checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ def _():
661661

662662
# Just in case if DBMS hasn't properly recovered from previous delayed request
663663
if PAYLOAD.TECHNIQUE.BOOLEAN not in injection.data:
664-
checkBooleanExpression("%d=%d", randInt1, randInt2)
664+
checkBooleanExpression("%d=%d" % (randInt1, randInt2))
665665

666666
if checkBooleanExpression("%d>(%d+%d)" % (min(randInt1, randInt2), randInt3, max(randInt1, randInt2))):
667667
retVal = None

0 commit comments

Comments
 (0)