vnc

package
v0.0.189 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package vnc implements RFB (VNC) protocol enumeration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LibraryEnumerateVNC

type LibraryEnumerateVNC struct {
	SkipScreenshot bool
	PortRange      string
}

LibraryEnumerateVNC implements NetworkApplicationLibrary for VNC/RFB enumeration.

func (*LibraryEnumerateVNC) EnumerateTarget

EnumerateTarget performs RFB/VNC enumeration against a single target.

Flow:

  1. Parse target; if no port given, sweep portRange (default 5900-5910)
  2. Dial, read 12-byte RFB banner, negotiate version
  3. Read advertised security types
  4. If None auth offered: send ClientInit, read ServerInit, optionally capture screenshot
  5. Compute weak deployment findings

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL