Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 34ce874 + f6b43b4 commit c85d575Copy full SHA for c85d575
1 file changed
lib/controller/checks.py
@@ -1050,6 +1050,8 @@ def identifyWaf():
1050
if not conf.identifyWaf:
1051
return None
1052
1053
+ kb.testMode = True
1054
+
1055
infoMsg = "using WAF scripts to detect "
1056
infoMsg += "backend WAF/IPS/IDS protection"
1057
logger.info(infoMsg)
@@ -1089,6 +1091,8 @@ def _(*args, **kwargs):
1089
1091
infoMsg = "no WAF/IDS/IPS product has been identified"
1090
1092
1093
1094
+ kb.testMode = False
1095
1096
return retVal
1097
1098
def checkNullConnection():
0 commit comments