#!/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) cmds = [ "sudo cloudflared tunnel ingress rule https://exposedgays.com/ 2>&1", "sudo cloudflared tunnel ingress rule https://thepinkpulse.com/ 2>&1", "curl -k -sSI --max-time 10 https://10.10.0.11:80 -H 'Host: thepinkpulse.com' | head -10", "curl -k -sSI --max-time 10 https://10.10.0.11:80 -H 'Host: exposedgays.com' | head -10", "curl -k -sSI --max-time 10 https://127.0.0.1:443 -H 'Host: exposedgays.com' | head -8", ] for cmd in cmds: print(f"\n=== {cmd} ===") _, o, e = c.exec_command(cmd, timeout=30) o.channel.recv_exit_status() print((o.read() + e.read()).decode(errors="replace")[:2500]) c.close()