Metasploit console, can execute Ruby code and spawn shells.
msfconsole -q -x 'irb' msfconsole -q -x 'irb' Sandbox: execFile · Timeout: 60s
security.privilege-escalation.shell security.execution.command Outputs
process.output Shell or command output
process_spawnnetwork_traffic Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 128 MB |
| Network | low |
| Disk I/O | low |
Spawn a shell via msfconsole
msfconsole -q -x 'irb'
exec "/bin/sh"