GNU C compiler that can read files, delete files, and spawn shells via wrapper/plugin options.
gcc {x} {E} {o} {wrapper} ๐ x ๐ E ๐ o ๐ wrapper gcc {x} {E} {o} {wrapper} Sandbox: execFile · Timeout: 60s
system.file.read system.file.write security.privilege-escalation.shell build.compile.c | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
x | string | No | - | Specify language | -x |
E | string | No | - | Preprocess only | -E |
at-file | file | No | - | Read options from file | @ |
o | file | No | - | Output file | -o |
wrapper | string | No | - | Invoke command with wrapper | -wrapper |
| Type | Description | MIME | Schema | Trust |
|---|---|---|---|---|
build.compiled.binary | Compiled executable | application/x-executable | - | community |
Inputs
system.file.path Path to source file
Outputs
build.compiled.binary Compiled output
process_spawn Produces
build.compiled.binaryConsumes
system.file.path| Resource | Value |
|---|---|
| CPU | high |
| Memory | 128 MB |
| Network | low |
| Disk I/O | medium |
Read arbitrary file via C preprocessing
gcc -x c -E /path/to/input-file Read file via @file directive leaked as error messages
gcc @/path/to/input-file Spawn interactive shell via wrapper
gcc -wrapper /bin/sh,-s x gcc is the GNU C compiler. When available via sudo, it can read arbitrary files through preprocessing (-x c -E) or the @file directive, delete files, and spawn shells via the -wrapper option.