rdp

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package rdp implements pre-auth RDP fingerprinting (enumerate stage, Mode A). It performs an X.224 Connection Request with rdpNegReq, parses the Connection Confirm / rdpNegRsp / rdpNegFailure, optionally upgrades to TLS, and captures the server certificate.

No authentication or payload beyond the X.224 handshake is sent.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapProtocolToFlags

func MapProtocolToFlags(proto uint32) *rdpfern.RdpProtocolFlag

MapProtocolToFlags converts a raw protocol uint32 to the Fern RdpProtocolFlag enum, or nil if proto is not one of the values defined by [MS-RDPBCGR] §2.2.1.1.1. Exported so it can be used by the bluekeep pentest package.

func RunEnumerateRDP

func RunEnumerateRDP(ctx context.Context, target string, timeoutSec int) *rdpfern.EnumerateRdpDetails

RunEnumerateRDP is a legacy entry point kept for direct callers. It returns an EnumerateRdpDetails for a single target.

Types

type LibraryEnumerateRDP

type LibraryEnumerateRDP struct{}

LibraryEnumerateRDP implements NetworkApplicationLibrary for RDP enumeration.

func (*LibraryEnumerateRDP) EnumerateTarget

EnumerateTarget implements NetworkApplicationLibrary and performs pre-auth RDP fingerprinting against a single target (host:port or bare host).

Jump to

Keyboard shortcuts

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