From d08c1b7c04712bbc789c8358abc319c46eeef817 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 20 Aug 2014 01:45:42 +0200 Subject: [PATCH] Minor update --- lib/controller/checks.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 4d4c69cd1..0fc8aa2ec 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -702,7 +702,7 @@ def checkFalsePositives(injection): break if retVal is None: - warnMsg = "false positive injection point detected" + warnMsg = "false positive or unexploitable injection point detected" logger.warn(warnMsg) kb.injection = popValue() @@ -715,13 +715,17 @@ def checkSuhosinPatch(injection): """ if injection.place == PLACE.GET: + debugMsg = "checking for parameter length " + debugMsg += "constrainting mechanisms" + logger.debug(debugMsg) + pushValue(kb.injection) kb.injection = injection randInt = randomInt() if not checkBooleanExpression("%d=%s%d" % (randInt, ' ' * SUHOSIN_MAX_VALUE_LENGTH, randInt)): - warnMsg = "parameter length constraint " + warnMsg = "parameter length constrainting " warnMsg += "mechanism detected (e.g. Suhosin patch). " warnMsg += "Potential problems in enumeration phase can be expected" logger.warn(warnMsg) @@ -729,6 +733,9 @@ def checkSuhosinPatch(injection): kb.injection = popValue() def checkFilteredChars(injection): + debugMsg = "checking for filtered characters" + logger.debug(debugMsg) + pushValue(kb.injection) kb.injection = injection