#!/usr/bin/env python3 import paramiko PASS = "Bbt9115xty9176!" c = paramiko.SSHClient() c.set_missing_host_key_policy(paramiko.AutoAddPolicy()) c.connect("10.10.0.10", username="localadministrator", password=PASS, timeout=30) hosts = ["gitea.onsethost.com", "thepinkpulse.com", "exposedgays.com", "exposedgays.onsethost.com"] for h in hosts: for scheme in ["http", "https"]: cmd = f"curl -k -sSI --max-time 8 -H 'Host: {h}' {scheme}://10.10.0.11:80/ | head -3" _, o, e = c.exec_command(cmd, timeout=20) o.channel.recv_exit_status() out = (o.read() + e.read()).decode().strip().replace("\n", " | ") print(f"{scheme:5} {h:30} -> {out}") c.close()