Zeus-Scanner/lib/firewall/siteguard.py

15 lines
367 B
Python

import re
__item__ = "Website Security SiteGuard (Lite)"
def detect(content, **kwargs):
content = str(content)
detection_schema = (
re.compile(r">Powered.by.SiteGuard.Lite<", re.I),
re.compile(r"refuse.to.browse", re.I)
)
for detection in detection_schema:
if detection.search(content) is not None:
return True