mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 11:13:47 +00:00
Update for WAF scripts
This commit is contained in:
parent
6c38afab35
commit
e5835dc74f
10 changed files with 73 additions and 6 deletions
|
|
@ -13,4 +13,7 @@ __product__ = "Profense Web Application Firewall (Armorlogic)"
|
|||
|
||||
def detect(get_page):
|
||||
page, headers, code = get_page()
|
||||
return re.search(r"Profense", headers.get(HTTPHEADER.SERVER, ""), re.I) is not None
|
||||
retval = re.search(r"Profense", headers.get(HTTPHEADER.SERVER, ""), re.I) is not None
|
||||
if not retval:
|
||||
retval = re.search(r"\APLBSID=", headers.get(HTTPHEADER.SET_COOKIE, ""), re.I) is not None
|
||||
return retval
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue