mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Minor fix for TrafficShield WAF script
This commit is contained in:
parent
af4762ace2
commit
2fc9396bb0
|
@ -13,4 +13,4 @@ __product__ = "TrafficShield (F5 Networks)"
|
|||
|
||||
def detect(get_page):
|
||||
page, headers, code = get_page()
|
||||
return (re.search(r"\AASINFO=", headers.get(HTTPHEADER.COOKIE, ""), re.I) or re.search(r"F5-TrafficShield", headers.get(HTTPHEADER.SERVER, ""), re.I)) is not None
|
||||
return (re.search(r"\AASINFO=", headers.get(HTTPHEADER.SET_COOKIE, ""), re.I) or re.search(r"F5-TrafficShield", headers.get(HTTPHEADER.SERVER, ""), re.I)) is not None
|
||||
|
|
Loading…
Reference in New Issue
Block a user