TUI Dashboard

goshs ships with an optional interactive terminal dashboard built on Bubble Tea. Enable it with --tui and you get a live full-screen view of all server activity — no browser, no port-forwarding required. This is especially useful when running goshs headless over SSH.

goshs --tui
goshs --tui -s -ss -b admin:secret --catcher -dns -dns-ip 10.10.14.5

Overview

The TUI subscribes to the same WebSocket broadcast stream as the browser Collaboration tab, so every event that would appear in the web UI also appears in the terminal in real time. All 7 activity panes are available:

Pane What it shows
HTTP Incoming HTTP requests — method, status, source IP, URL, headers, body
DNS DNS queries received by the built-in DNS server
SMB NTLM hashes captured by the SMB server (including cracked passwords)
LDAP LDAP bind credentials and NTLM hashes (including cracked passwords)
SMTP Emails received by the SMTP server — with attachment metadata
SHELLS Reverse shell listeners and connected sessions
CLIPBOARD Shared clipboard entries

The banner at the top shows the active server addresses. If --ttl is set, a countdown timer is displayed in the status bar.

Key Action
Tab / / l Switch to the next pane
Shift+Tab / / h Switch to the previous pane
/ k Move selection up
/ j Move selection down
g / Home Jump to the newest event
G / End Jump to the oldest event
Enter Open / close the detail view for the selected row
Esc Close the detail view
PgUp / Ctrl+U Scroll detail view up
PgDn / Ctrl+D / Space Scroll detail view down
e Export active pane to goshs-<proto>-log.json
E Export all panes to goshs-all-logs.json
q / Ctrl+C Quit the dashboard (triggers a graceful shutdown)

SHELLS pane

The SHELLS pane gives you full control over reverse shell listeners and connected sessions without leaving the terminal.

Key Action
a Start a new listener — prompts for ip:port or a bare port
d Stop the selected listener
r Restart the selected listener on the same address
Enter / i Attach to the selected session (interactive terminal)
u Upgrade the selected session to a Unix PTY
U Upgrade the selected session via Windows ConPtyShell

When attached to a session, Ctrl+] detaches and returns you to the dashboard.

Info

Shell upgrade (u / U) and the interactive attach (i) work the same way as the browser Catcher tab. For the Windows upgrade (U), goshs serves ConPtyShell.ps1 from the webroot if present, otherwise downloads it from GitHub on first use — see the Reverse Shell Catcher page for details.

CLIPBOARD pane

Key Action
a Add a new clipboard entry
d Delete the selected entry
C Clear all clipboard entries

SMTP pane

Key Action
s Save the selected mail’s attachments to goshs-attachments/ in the working directory

CLI flag

--tui    Run the interactive terminal dashboard  (default: false)

Config file

{
  "tui": true
}

Example

# TUI with catcher and DNS
goshs --tui -s -ss -b admin:secret --catcher -dns -dns-ip 10.10.14.5

# Combined with a self-destruct timer
goshs --tui -s -ss -b admin:secret --catcher --ttl 4h