Glasgow Haskell Compiler interactive, can execute code and spawn shells.
ghci -e 'System.Posix.Process.executeFile "/bin/sh" False [] Nothing' ghci -e 'System.Posix.Process.executeFile "/bin/sh" False [] Nothing' Sandbox: execFile · Timeout: 30s
security.privilege-escalation.shell security.execution.command Outputs
process.output Shell output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 32 MB |
| Network | none |
| Disk I/O | low |
Spawn a shell via ghci
ghci -e 'System.Posix.Process.executeFile "/bin/sh" False [] Nothing'