process enabled community medium v1.0.0

env

Run a program in a modified environment, can spawn a shell.

📋 Live Preview
env {0}
📎 0
env {0}

Sandbox: execFile · Timeout: 30s

Capabilities

security.privilege-escalation.shell
security.execution.command

Contract

Inputs

system.command.string

Command to execute

Outputs

process.output

Command output

Side effects: process_spawn

Workflow Edges

Produces

process.output

Consumes

system.command.string

Resource Profile

ResourceValue
CPUlow
Memory2 MB
Networklow
Disk I/Olow

Examples

Spawn an interactive shell

env /bin/sh

Spawn a privileged shell with SUID

env /bin/sh -p

Documentation

env — Run in Modified Environment

env runs a program with modified environment variables. When installed with SUID, it can spawn a privileged shell with the -p flag.

Related Tools

nohupnice

References