Skip to content

Commit

Permalink
add plugin: 360WangZhanBao
Browse files Browse the repository at this point in the history
  • Loading branch information
akun authored and 郑堃 committed Apr 3, 2015
1 parent 3948a4a commit 347184d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 0 additions & 4 deletions wafw00f/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,9 +609,6 @@ def isciscoacexml(self):
return True
return False

def is360wzb(self):
return self.matchheader(('X-Powered-By-360WZB', '.+'))

wafdetections = dict()
# easy ones
wafdetections['IBM Web Application Security'] = isibm
Expand Down Expand Up @@ -645,7 +642,6 @@ def is360wzb(self):
wafdetections['CloudFlare'] = iscloudflare
wafdetections['USP Secure Entry Server'] = isuspses
wafdetections['Cisco ACE XML Gateway'] = isciscoacexml
wafdetections['360WangZhanBao'] = is360wzb
wafdetectionsprio = ['Profense', 'NetContinuum', 'Incapsula WAF', 'CloudFlare',
'USP Secure Entry Server', 'Cisco ACE XML Gateway',
'Barracuda Application Firewall', 'Art of Defence HyperGuard', 'BinarySec', 'Teros WAF',
Expand Down
8 changes: 8 additions & 0 deletions wafw00f/plugins/wzb360.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env python


NAME = '360WangZhanBao'


def is_waf(self):
return self.matchheader(('X-Powered-By-360WZB', '.+'))

0 comments on commit 347184d

Please sign in to comment.