v2: ID verification by state, 15 photos/5 albums, 20 quick replies, logo, mobile polish
This commit is contained in:
24
deploy/_compare_avbeat.py
Normal file
24
deploy/_compare_avbeat.py
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/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 avbeat.com CNAME +short",
|
||||
"dig @1.1.1.1 exposedgays.com CNAME +short",
|
||||
"dig @1.1.1.1 avbeat.com A +short",
|
||||
"dig @1.1.1.1 exposedgays.com A +short",
|
||||
"curl -sSI --max-time 15 https://avbeat.com/ | head -8",
|
||||
"curl -sSI --max-time 15 https://exposedgays.com/ | head -8",
|
||||
"curl -sSI --max-time 15 -k -H 'Host: avbeat.com' https://127.0.0.1/ | head -8",
|
||||
"curl -sSI --max-time 15 -k -H 'Host: exposedgays.com' https://127.0.0.1/ | head -8",
|
||||
"ps aux | grep cloudflared | grep -v grep",
|
||||
]
|
||||
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()
|
||||
Reference in New Issue
Block a user