Airlock also uses AL_SESS-S cookie

This commit is contained in:
Miroslav Stampar
2018-08-29 10:56:24 +02:00
parent 9e8b28be7c
commit c3d9a1c2d4
3 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ def detect(get_page):
for vector in WAF_ATTACK_VECTORS:
_, headers, _ = get_page(get=vector)
retval = re.search(r"\AAL[_-]?(SESS|LB)=", headers.get(HTTP_HEADER.SET_COOKIE, ""), re.I) is not None
retval = re.search(r"\AAL[_-]?(SESS|LB)", headers.get(HTTP_HEADER.SET_COOKIE, ""), re.I) is not None
if retval:
break