From c7ef9429ae80d31bfe79b5ed9d49d08b77530049 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 14 Jan 2016 13:16:44 +0100 Subject: [PATCH] Minor check for problematic injections --- lib/controller/checks.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index b5d7d2d2a..e4c597f8f 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -782,6 +782,10 @@ def checkFalsePositives(injection): retVal = None break + elif checkBooleanExpression("%d %d" % (randInt3, randInt2)): + retVal = None + break + if retVal is None: warnMsg = "false positive or unexploitable injection point detected" logger.warn(warnMsg)