Skip to main content

Class: RDPClient

rdp.RDPClient RDPClient is a minimal RDP client for nuclei scripts. Example

Table of contents

Constructors

Methods

Constructors

constructor

new RDPClient(): RDPClient

Returns

RDPClient

Defined in

rdp.ts:15

Methods

CheckRDPAuth

CheckRDPAuth(host, port): CheckRDPAuthResponse CheckRDPAuth checks if the given host and port are running rdp server with authentication and returns their metadata. If connection is successful, it returns true.

Parameters

Returns

CheckRDPAuthResponse Example

Defined in

rdp.ts:44

IsRDP

IsRDP(host, port): IsRDPResponse IsRDP checks if the given host and port are running rdp server. If connection is successful, it returns true. If connection is unsuccessful, it returns false and error. The Name of the OS is also returned if the connection is successful.

Parameters

Returns

IsRDPResponse Example

Defined in

rdp.ts:28