{
  "port": 5802,
  "protocol": "tcp",
  "service": "VNC over HTTP (display :2)",
  "oneLiner": "VNC's web-viewer port for display :2 — the second per-user desktop on a shared host.",
  "whatItIs": "5802 is 5800 plus display 2, the HTTP listener a VNC server opens alongside RFB on 5902. It shows up on multi-user Linux boxes where several people each run their own `vncserver` session, so displays climb :1, :2, :3 and the HTTP and RFB ports climb with them. The port is unassigned at IANA and exists purely by VNC convention.",
  "exposure": {
    "verdict": "never",
    "note": "A second exposed desktop is not safer than the first. Bind VNC to localhost and reach it over SSH."
  },
  "checkCommand": "curl -sS -o /dev/null -w '%{http_code}\\n' http://TARGET:5802/",
  "links": [
    {
      "title": "x11vnc — -http option, Java vncviewer download on the 5800+display port",
      "url": "https://github.com/LibVNC/x11vnc/blob/master/src/help.c",
      "kind": "github"
    },
    {
      "title": "IANA port registry — 5802 (unassigned)",
      "url": "https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=5802",
      "kind": "iana"
    }
  ]
}
