mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
20 lines
532 B
Python
20 lines
532 B
Python
import re
|
|
|
|
import lib.core.common
|
|
|
|
|
|
__product__ = "Abyss-Web-Server"
|
|
__description__ = (
|
|
"Abyss Web Server is a compact web server available "
|
|
"for Windows, Mac OS X, Linux, and FreeBSD operating systems"
|
|
)
|
|
|
|
|
|
def search(html, **kwargs):
|
|
headers = kwargs.get("headers", None)
|
|
plugin_detection_schema = (
|
|
re.compile(r"/^Abyss\/([^\s]+)/", re.I),
|
|
)
|
|
for plugin in plugin_detection_schema:
|
|
if plugin.search(headers.get(lib.core.common.HTTP_HEADER.SERVER, "")) is not None:
|
|
return True
|