Major bug fix in WAF/IDS/IPS detection (question 'do you want..to try to detect backend WAF/IPS/IDS' never worked)

This commit is contained in:
Miroslav Stampar
2016-05-27 13:41:03 +02:00
parent 154ed2c4e2
commit de9f23939f
3 changed files with 8 additions and 1 deletions

View File

@@ -1248,6 +1248,9 @@ def identifyWaf():
if not conf.identifyWaf:
return None
if not kb.wafFunctions:
setWafFunctions()
kb.testMode = True
infoMsg = "using WAF scripts to detect "
@@ -1424,3 +1427,6 @@ def checkConnection(suppressOutput=False):
def setVerbosity(): # Cross-linked function
raise NotImplementedError
def setWafFunctions(): # Cross-linked function
raise NotImplementedError