system enabled community medium v1.0.0

cpio

Copy files to and from archives, can read/write files and spawn shells via rsh-command.

📋 Live Preview
cpio
cpio

Sandbox: execFile · Timeout: 30s

Capabilities

system.file.read
system.file.write
security.privilege-escalation.shell

Contract

Outputs

process.output

File or shell output

Side effects: process_spawnfilesystem_write

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory8 MB
Networknone
Disk I/Olow

Examples

Read a file via cpio

echo /path/to/input-file | cpio -o

Spawn a shell via cpio rsh-command

echo '/bin/sh </dev/tty >/dev/tty' >localhost
cpio -o --rsh-command /bin/sh -F localhost:

Related Tools

tar

References