mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-10 09:49:06 +00:00
Update for an Issue #290 (adding tamper-like scripts into (new) directory waf)
This commit is contained in:
16
waf/f5asm.py
Normal file
16
waf/f5asm.py
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
"""
|
||||
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)
|
||||
See the file 'doc/COPYING' for copying permission
|
||||
"""
|
||||
|
||||
import re
|
||||
|
||||
from lib.core.enums import HTTPHEADER
|
||||
|
||||
__product__ = "F5 Networks BIG-IP Application Security Manager (ASM)"
|
||||
__request__ = ()
|
||||
|
||||
def detect(page, headers, code):
|
||||
return re.search(r"^TS[a-zA-Z0-9]{3,6}=", headers.get(HTTPHEADER.SET_COOKIE, "")) is not None
|
||||
Reference in New Issue
Block a user