feat: add helper scripts for infrastructure management and troubleshooting

This commit is contained in:
2026-11-06 15:24:05 -05:00
parent aea8608f3d
commit 1965d37687
48 changed files with 1399 additions and 39 deletions

17
scripts/find_oidc_js.py Normal file
View File

@@ -0,0 +1,17 @@
import urllib.request
import ssl
import re
ctx = ssl.create_default_context()
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE
url = "https://semaphore.snarfnet.net/js/app.905c93b7.js"
content = urllib.request.urlopen(urllib.request.Request(url, headers={"User-Agent": "Mozilla/5.0"}), context=ctx).read().decode('utf-8')
for m in re.finditer(r'oidc', content, re.IGNORECASE):
start = max(0, m.start() - 150)
end = min(len(content), m.end() + 150)
print("Match:", content[start:end])
print("-" * 50)