mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Add shell function
This commit is contained in:
parent
fc372cb4f2
commit
b6947295d2
@ -1,5 +1,9 @@
|
|||||||
---
|
---
|
||||||
functions:
|
functions:
|
||||||
|
shell:
|
||||||
|
- code: |
|
||||||
|
TF=$(mktemp)
|
||||||
|
setlock $TF /bin/sh
|
||||||
suid:
|
suid:
|
||||||
- code: ./setlock - /bin/sh -p
|
- code: ./setlock - /bin/sh -p
|
||||||
sudo:
|
sudo:
|
||||||
|
Loading…
Reference in New Issue
Block a user