#!/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 = [ "dig @1.1.1.1 thepinkpulse.com ANY +noall +answer", "dig @1.1.1.1 exposedgays.com ANY +noall +answer", "dig @1.1.1.1 www.thepinkpulse.com CNAME +short", "dig @1.1.1.1 www.exposedgays.com CNAME +short", "curl -sSL --max-time 15 https://thepinkpulse.com/ | head -c 150", "curl -sSL --max-time 15 https://exposedgays.com/ 2>&1 | head -c 150", "curl -sSL --max-time 15 -k -H 'Host: thepinkpulse.com' https://127.0.0.1/ | head -c 150", "curl -sSL --max-time 15 -k -H 'Host: exposedgays.com' https://127.0.0.1/ | head -c 150", ] for cmd in cmds: print(f"\n=== {cmd} ===") _, o, e = c.exec_command(cmd, timeout=40) o.channel.recv_exit_status() print((o.read() + e.read()).decode(errors="replace")[:2000]) c.close()