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:15Methods
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
Name | Type |
---|---|
host | string |
port | number |
Returns
CheckRDPAuthResponse
Example
Defined in
rdp.ts:44IsRDP
▸ 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
Name | Type |
---|---|
host | string |
port | number |
Returns
IsRDPResponse
Example