system enabled community high v1.0.0

chroot

Run command or shell with a different root directory, can spawn a privileged shell with SUID.

📋 Live Preview
chroot {directory} /bin/sh
📎 directory
chroot {directory} /bin/sh

Sandbox: execFile · Timeout: 30s

Capabilities

security.privilege-escalation.shell

Parameters

Name Type Required Default Description Aliases
directory string No - Root directory for chroot -

Contract

Outputs

process.output

Shell output

Side effects: process_spawn

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory4 MB
Networknone
Disk I/Olow

Examples

Spawn a shell via chroot

chroot /

Related Tools

arch-nspawn

References