<filename>common/moudle/waf_plugins/webknight.py
#!/usr/bin/env python


NAME = '<NAME>'


def is_waf(self):
    detected = False
    for attack in self.attacks:
        r = attack(self)
        if r is None:
            return
        if r.status_code == 404 and r.reason == 'Hack Not Found':
            detected = True
            break
    return detected

<filename>common/moudle/waf_plugins/webknight.py
#!/usr/bin/env python


NAME = '<NAME>'


def is_waf(self):
    detected = False
    for attack in self.attacks:
        r = attack(self)
        if r is None:
            return
        if r.status_code == 404 and r.reason == 'Hack Not Found':
            detected = True
            break
    return detected

#!/usr/bin/env python