v2: ID verification by state, 15 photos/5 albums, 20 quick replies, logo, mobile polish
This commit is contained in:
23
deploy/_find_creds.py
Normal file
23
deploy/_find_creds.py
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/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 = [
|
||||
"ls -la /etc/cloudflared/",
|
||||
"ls -la /home/localadministrator/.cloudflared/ 2>/dev/null || echo no_home_cloudflared",
|
||||
"ls -la /root/.cloudflared/ 2>/dev/null || echo no_root_cloudflared",
|
||||
"grep -n 'exposedgays\\|thepinkpulse\\|avbeat\\|catch' /etc/cloudflared/config.yml | tail -30",
|
||||
"sudo journalctl -u cloudflared --no-pager -n 2 | tail -2",
|
||||
"docker exec coolify-db psql -U coolify -d coolify -t -A -c \"SELECT uuid,name,status,fqdn FROM applications WHERE name='exposedgays';\"",
|
||||
"docker ps --format '{{.Names}} {{.Status}}' | grep ira4 || true",
|
||||
"curl -sS -o /dev/null -w 'local:%{http_code}' -k -H 'Host: exposedgays.com' https://127.0.0.1/",
|
||||
]
|
||||
for cmd in cmds:
|
||||
print(f"\n=== {cmd} ===")
|
||||
_, o, e = c.exec_command(cmd, timeout=60)
|
||||
o.channel.recv_exit_status()
|
||||
print((o.read() + e.read()).decode(errors="replace")[:4000])
|
||||
c.close()
|
||||
Reference in New Issue
Block a user