connected from 🇩🇪 Bad Soden am Taunus (Neuenhain), Germany · SSH-2.0-paramiko_5.1.0
root@se-sto-oracle-1's password: Logged in as root
root@se-sto-oracle-1:~# echo '==B1 host=='; host -t A postgres.data.svc.cluster.local 10.44.0.10 2>&1; echo '==B2 nslookup=='; nslookup postgres.data.svc.cluster.local 10.44.0.10 2>&1; echo '==B3 dig ANY=='; dig @10.44.0.10 postgres.data.svc.cluster.local ANY +noall +answer 2>&1; echo '==B4 svc.cluster.local NS=='; dig @10.44.0.10 svc.cluster.local NS 2>&1 | tail -12; echo '==B5 short names=='; for n in postgres.data postgres.data.svc postgres 'postgres.data.svc.cluster.local.'; do echo -n "$n -> "; dig @10.44.0.10 "$n" A +short 2>/dev/null | tr '\n' ' '; echo; done; echo '==B6 kubernetes.default full=='; dig @10.44.0.10 kubernetes.default.svc.cluster.local A 2>&1 | grep -E 'status:|ANSWER:'; echo '==B7 coreDNS pods=='; dig @10.44.0.10 kube-dns.kube-system.svc.cluster.local A 2>&1 | grep -E 'status:|ANSWER:'==B1 host== ==B2 nslookup== ==B3 dig ANY== ==B4 svc.cluster.local NS== ==B5 short names== postgres.data -> 151.101.118.65 postgres.data.svc -> postgres -> postgres.data.svc.cluster.local. -> ==B6 kubernetes.default full== ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 38944 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1 ==B7 coreDNS pods== ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 32604 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
Disconnected · 0s inside
0:00 / 0:00
What they found: A container cluster's worker nodeOne machine of a small company's self-hosted container cluster, running its customer-facing services.