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:~# python3 - <<'PYEOF'
import socket,time
for dst in ['169.254.169.254']:
for port in [80]:
t0=time.time()
try:
s=socket.create_connection((dst,port),timeout=12)
dt=time.time()-t0
print('TCP_CONNECT_OK',dst,port,'%.2fs'%dt,'local',s.getsockname())
req=b'GET /opc/v2/instance/ HTTP/1.1\r\nHost: 169.254.169.254\r\nAuthorization: Bearer Oracle\r\nConnection: close\r\n\r\n'
s.sendall(req); s.settimeout(12)
data=b''
try:
while True:
c=s.recv(4096)
if not c: break
data+=c
except Exception as e:
print('RECV_ERR',repr(e))
print('RAW_RESP_BYTES',len(data),'HEAD',repr(data[:600]))
s.close()
except Exception as e:
print('TCP_CONNECT_FAIL',dst,port,'%.2fs'%(time.time()-t0),repr(e))
PYEOFDisconnected · 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.