From 2a423d61ef97d6b5ca6081e7b9ede24842a7f201 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 23 Feb 2014 19:40:01 +0100 Subject: [PATCH] Raising number of requests for false positive testing in case of higher levels --- 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 a05297131..ed50fa1d8 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -665,7 +665,7 @@ def checkFalsePositives(injection): # Simple arithmetic operations which should show basic # arithmetic ability of the backend if it's really injectable - for i in xrange(1 + conf.level / 2): + for i in xrange(conf.level): randInt1, randInt2, randInt3 = (_() for j in xrange(3)) randInt1 = min(randInt1, randInt2, randInt3)