Nashorn JavaScript engine for JVM, can execute JavaScript and spawn shells.
jjs -e 'java.lang.Runtime.getRuntime().exec("/bin/sh")' jjs -e 'java.lang.Runtime.getRuntime().exec("/bin/sh")' Sandbox: execFile · Timeout: 30s
security.privilege-escalation.shell 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 jjs
jjs -e 'java.lang.Runtime.getRuntime().exec("/bin/sh")'