lang enabled community medium v1.0.0

cobc

COBOL compiler, can spawn a shell via compiled COBOL code.

📋 Live Preview
cobc -xFj --frelax-syntax-checks {script}
📎 script
cobc -xFj --frelax-syntax-checks {script}

Sandbox: execFile · Timeout: 30s

Capabilities

security.privilege-escalation.shell

Contract

Outputs

process.output

Shell output

Side effects: process_spawnfilesystem_write

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networknone
Disk I/Olow

Examples

Spawn a shell via cobc

echo 'CALL "SYSTEM" USING "/bin/sh".' >/path/to/temp-file
cobc -xFj --frelax-syntax-checks /path/to/temp-file

References