mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
16 lines
414 B
Python
16 lines
414 B
Python
import re
|
|
|
|
|
|
__item__ = "Palo Alto Firewall (Palo Alto Networks)"
|
|
|
|
|
|
def detect(content, **kwargs):
|
|
content = str(content)
|
|
detection_schemas = (
|
|
re.compile(r"\bhas been blocked in accordance with company policy\b"),
|
|
re.compile(r"<.+>Virus.Spyware.Download.Blocked<.+.>")
|
|
)
|
|
for detection in detection_schemas:
|
|
if detection.search(content) is not None:
|
|
return True
|
|
|