netscrew.dev/commands/web
Command

n web

Web services & dashboards discovery (local or remote)

Short forms:w · we · ui · dashboards

Usage — n web

═══════════════════════════════════════════════════════════════════════════════
  Netscrew ("n") — web (w, we, ui) — Discover web UIs & dashboards (clickable links)
═══════════════════════════════════════════════════════════════════════════════

USAGE:
  n w .                                web services listening on THIS machine
  n w <host>                           probe 40+ dashboard ports on a host, with titles

Target: . = this machine · <host> = remote
Deeper: n w -h = the concept/theory behind this command

The concept behind it — n web -h

═══════════════════════════════════════════════════════════════════════════════
  NETSCREW GUIDE: Web Services & Dashboards Discovery ("n web")
═══════════════════════════════════════════════════════════════════════════════

HOW IT WORKS:
  n web" scans all local listening TCP ports and intelligently tests each port
  for HTTP and HTTPS web servers, reverse proxies, and administrative dashboards:
  1. Issues concurrent lightweight HEAD/GET requests with a short 800ms timeout.
  2. If an HTTP port returns HTTP 400 (common when hitting an SSL port via plain HTTP),
     Netscrew automatically upgrades and re-tests via HTTPS!
  3. Extracts the HTML <title> tag and Server: response headers.
  4. Formats clickable terminal hyperlinks (OSC-8) using your primary LAN IP.

STATUS CODE CHEAT SHEET:
  • 200 OK           Dashboard is active, healthy, and serving pages.
  • 401 / 403        Authentication required (e.g. Plex, SFTPGo, or basic auth).
  • 502 / 503        Gateway error or backend container starting up (e.g. Nextcloud/PHP).

TERMINAL TIP:
  In modern terminals (Windows Terminal, iTerm2, VS Code, GNOME Terminal),
  Ctrl+Click (or Cmd+Click on macOS) any URL in the output to open the
  service directly in your default browser!