feat: add infrastructure audit and diagnostic helper scripts

This commit is contained in:
2026-11-06 12:37:49 -05:00
parent 06c203485f
commit aea8608f3d
44 changed files with 1141 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
import urllib.request
import ssl
ctx = ssl.create_default_context()
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE
url = "https://semaphore.snarfnet.net/auth/oidc/authentik/redirect"
req = urllib.request.Request(url, headers={'User-Agent': 'Mozilla/5.0'})
try:
with urllib.request.urlopen(req, context=ctx) as resp:
print("Status:", resp.status)
print(resp.read().decode())
except urllib.error.HTTPError as e:
print(f"HTTP {e.code}:", e.read().decode())