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():