Command Line (Terminal)

A fully interactive persistent remote shell — the remote machine's terminal streamed live to the operator.
Capabilities
- Opens a persistent interactive shell on the remote device
- Windows →
cmd.exe - Linux / macOS →
bashorsh
- Windows →
- Streams real-time output back to the controller as it is produced
- Fully interactive — run commands, navigate directories, execute scripts, launch programs
- Session-based — the shell process stays alive between commands (not one-shot execution)
- Color-coded terminal output with a dark console theme
- Device selector to switch between multiple connected devices
How It Works
- Operator selects a device and clicks Connect
- The controller sends a
START_SHELLcommand - The agent spawns a shell process (
ProcessBuilder) and keeps it alive - The agent streams
stdoutandstderrback to the controller in real time - Every line the operator types is sent as
SHELL_INPUTto the agent'sstdin - The shell session persists until explicitly disconnected
What You Learn
Industry Comparison
This is the same model used by SSH (Secure Shell), Telnet, Cobalt Strike's interactive shell, and Metasploit Meterpreter's shell command. The key difference between a one-shot command executor (run command → get output → done) and a persistent PTY session (shell stays alive, maintains state like current directory and environment variables) is a fundamental concept in remote administration.