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,17 @@
import urllib.request
import ssl
ctx = ssl.create_default_context()
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE
url = "https://sn-nas.snarfnet.net/"
req = urllib.request.Request(url, headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)'})
try:
with urllib.request.urlopen(req, context=ctx, timeout=8) as resp:
content = resp.read().decode('utf-8', errors='ignore')
print("HTML length:", len(content))
print("HTML contents:\n", content)
except Exception as e:
print("Error:", e)