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

Skip to content

Commit c995c52

Browse files
committed
Update of jiasule.py WAF script
1 parent e17e703 commit c995c52

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

waf/jiasule.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 = re.search(r"jiasule-WAF", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None
21+
retval |= re.search(r"__jsluid=", headers.get(HTTP_HEADER.SET_COOKIE, ""), re.I) is not None
2122
retval |= re.search(r"static\.jiasule\.com/static/js/http_error\.js", page, re.I) is not None
2223
if retval:
2324
break

0 commit comments

Comments
 (0)