Update for #3488 (found samples with Server: wts)

This commit is contained in:
Miroslav Stampar
2019-02-11 15:58:25 +01:00
parent ced9657d95
commit 27265f56ba
3 changed files with 4 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ def detect(get_page):
for vector in WAF_ATTACK_VECTORS:
page, headers, _ = get_page(get=vector)
retval = ">WTS-WAF" in (page or "")
retval |= re.search(r"\Awts/", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None
if retval:
break