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 ¶
func (l *LibraryEnumerateRDP) EnumerateTarget(ctx context.Context, target string) (*enumeratefern.EnumerateServiceDetails, []string)
EnumerateTarget implements NetworkApplicationLibrary and performs pre-auth RDP fingerprinting against a single target (host:port or bare host).