Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f9e80ad

Browse files
Ekultekstamparm
authored andcommitted
Minor update to Sucuri WAF script (#2761)
1 parent e5f9610 commit f9e80ad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

waf/sucuri.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def detect(get_page):
1818
for vector in WAF_ATTACK_VECTORS:
1919
page, headers, code = get_page(get=vector)
2020
retval = code == 403 and re.search(r"Sucuri/Cloudproxy", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None
21+
retval |= "Access Denied - Sucuri Website Firewall" in (page or "")
2122
retval |= "Sucuri WebSite Firewall - CloudProxy - Access Denied" in (page or "")
2223
retval |= re.search(r"Questions\?.+cloudproxy@sucuri\.net", (page or "")) is not None
2324
if retval:

0 commit comments

Comments
 (0)