mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
17 lines
400 B
Python
17 lines
400 B
Python
|
|
import re
|
||
|
|
|
||
|
|
from lib.core.common import HTTP_HEADER
|
||
|
|
|
||
|
|
|
||
|
|
__item__ = "Wallarm Web Application Firewall (Wallarm)"
|
||
|
|
|
||
|
|
|
||
|
|
def detect(content, **kwargs):
|
||
|
|
headers = kwargs.get("headers", None)
|
||
|
|
detection_schema = (
|
||
|
|
re.compile(r"nginx-wallarm", re.I),
|
||
|
|
)
|
||
|
|
for detection in detection_schema:
|
||
|
|
if detection.search(headers.get(HTTP_HEADER.SERVER, "")) is not None:
|
||
|
|
return True
|