Execute commands as another user (OpenBSD-style privilege escalation), can spawn a root shell.
doas -u root /bin/sh doas -u root /bin/sh Sandbox: execFile · Timeout: 30s
security.privilege-escalation.shell Outputs
process.output Shell output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 2 MB |
| Network | none |
| Disk I/O | low |
Spawn a root shell via doas
doas -u root /bin/sh