rdp

(rdp).RDPClient

RDPClient is a client for rdp servers

Kind: inner class of rdp

rdpClient.CheckRDPAuth(host, port) ⇒ CheckRDPAuthResponse

CheckRDPAuth checks if the given host and port are running rdp server with authentication and returns their metadata.

Kind: instance method of RDPClient
Returns: CheckRDPAuthResponse - - The response from the check.
Throws:

  • error - The error encountered during the check.
ParamTypeDescription
hoststringThe host to check.
portnumberThe port to check.

Example

let m = require('nuclei/rdp');
let c = m.RDPClient();
let response = c.CheckRDPAuth('localhost', 3389);

rdpClient.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.

Kind: instance method of RDPClient
Returns: IsRDPResponse - - The response from the check.
Throws:

  • error - The error encountered during the check.
ParamTypeDescription
hoststringThe host to check.
portnumberThe port to check.

Example

let m = require('nuclei/rdp');
let c = m.RDPClient();
let response = c.IsRDP('localhost', 3389);

(rdp).CheckRDPAuthResponse : object

CheckRDPAuthResponse is the response from the CheckRDPAuth method.

Kind: inner typedef of rdp

(rdp).IsRDPResponse : object

IsRDPResponse is the response from the IsRDP method.

Kind: inner typedef of rdp