From f6b43b4b13f7d725b215a49002d5eea166f224e6 Mon Sep 17 00:00:00 2001 From: stamparm Date: Tue, 26 Feb 2013 11:08:06 +0100 Subject: [PATCH] Minor update for an Issue #290 --- lib/controller/checks.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index dacb6b709..8b1b7076d 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -1050,6 +1050,8 @@ def identifyWaf(): if not conf.identifyWaf: return None + kb.testMode = True + infoMsg = "using WAF scripts to detect " infoMsg += "backend WAF/IPS/IDS protection" logger.info(infoMsg) @@ -1089,6 +1091,8 @@ def identifyWaf(): infoMsg = "no WAF/IDS/IPS product has been identified" logger.info(infoMsg) + kb.testMode = False + return retVal def checkNullConnection():