lang enabled community medium v1.0.0

ghci

Glasgow Haskell Compiler interactive, can execute code and spawn shells.

📋 Live Preview
ghci -e 'System.Posix.Process.executeFile "/bin/sh" False [] Nothing'
ghci -e 'System.Posix.Process.executeFile "/bin/sh" False [] Nothing'

Sandbox: execFile · Timeout: 30s

Capabilities

security.privilege-escalation.shell
security.execution.command

Contract

Outputs

process.output

Shell output

Side effects: process_spawn

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory32 MB
Networknone
Disk I/Olow

Examples

Spawn a shell via ghci

ghci -e 'System.Posix.Process.executeFile "/bin/sh" False [] Nothing'

Related Tools

ghcrunghc

References