Rdp.RDPClient
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
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
Name | Type |
---|---|
host | string |
port | number |
Returns
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
Name | Type |
---|---|
host | string |
port | number |
Returns
Example
Defined in
rdp.ts:28
Was this page helpful?