mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
16 lines
428 B
Python
16 lines
428 B
Python
import re
|
|
|
|
|
|
__item__ = "DynamicWeb Injection Check (DynamicWeb)"
|
|
|
|
|
|
def detect(content, **kwargs):
|
|
headers = kwargs.get("headers", None)
|
|
status = kwargs.get("status", None)
|
|
detection_schema = (
|
|
re.compile(r"dw.inj.check", re.I),
|
|
)
|
|
if status == 403:
|
|
for detection in detection_schema:
|
|
if detection.search(headers.get("X-403-status-by", "")) is not None:
|
|
return True
|