GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — socket-python-cli/socketsecurity/plugins/webhook.py at main · SocketDev/socket-python-cli Expand file tree/ Copy pathwebhook.pyMore file actions 15 lines (11 loc) · 441 Bytes / Copy pathwebhook.pyFile metadata and controls15 lines (11 loc) · 441 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 import requests from .base import Plugin class WebhookPlugin(Plugin): def send(self, message, level): if not self.config.get("enabled", False): return if level not in self.config.get("levels", ["block", "warn"]): return url = self.config["url"] headers = self.config.get("headers", {"Content-Type": "application/json"}) requests.post(url, json=message, headers=headers) |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |