Reverse-polish desk calculator that can execute shell commands via the ! operator.
dc {e} 📎 e dc {e} Sandbox: execFile · Timeout: 30s
security.privilege-escalation.shell math.calculate | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
e | string | No | - | Evaluate expression | -e |
Inputs
system.command.string Command to execute via dc -e
Outputs
process.output Shell or command output
process_spawn Produces
process.outputConsumes
system.command.string| Resource | Value |
|---|---|
| CPU | low |
| Memory | 2 MB |
| Network | low |
| Disk I/O | low |
Spawn interactive shell via dc -e with ! operator
dc -e '!/bin/sh' dc is a reverse-polish desk calculator. The ! operator executes shell commands, making it useful for privilege escalation when used with sudo or SUID.