Skip to content

Commit

Permalink
add plugin: F5 BIG-IP ASM
Browse files Browse the repository at this point in the history
  • Loading branch information
akun committed Apr 17, 2015
1 parent 53ef6c9 commit 74c4f18
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
5 changes: 0 additions & 5 deletions wafw00f/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,6 @@ def isf5bigipapm(self):
return False


def isf5bigipasm(self):
# credit goes to W3AF
return self.matchcookie('^TS[a-zA-Z0-9]{3,6}=')

def matchcookie(self, match):
"""
a convenience function which calls matchheader
Expand Down Expand Up @@ -375,7 +371,6 @@ def ismodsecuritypositive(self):
wafdetections['F5 Trafficshield'] = isf5trafficshield
wafdetections['F5 BIG-IP LTM'] = isf5bigipltm
wafdetections['F5 BIG-IP APM'] = isf5bigipapm
wafdetections['F5 BIG-IP ASM'] = isf5bigipasm
# lil bit more complex
#wafdetections['BeeWare'] = isbeeware
#wafdetections['ModSecurity (positive model)'] = ismodsecuritypositive removed for now
Expand Down
9 changes: 9 additions & 0 deletions wafw00f/plugins/f5bigipasm.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env python


NAME = 'F5 BIG-IP ASM'


def is_waf(self):
# credit goes to W3AF
return self.matchcookie('^TS[a-zA-Z0-9]{3,6}=')

0 comments on commit 74c4f18

Please sign in to comment.