Documentation ¶
Overview ¶
Warning - This is generated code
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckRDPAuthResponse ¶
type CheckRDPAuthResponse struct { PluginInfo *plugins.ServiceRDP Auth bool }
CheckRDPAuthResponse is the response from the CheckRDPAuth function. this is returned by CheckRDPAuth function. @example ```javascript const rdp = require('nuclei/rdp'); const checkRDPAuth = rdp.CheckRDPAuth('acme.com', 3389); log(toJSON(checkRDPAuth)); ```
func CheckRDPAuth ¶
func CheckRDPAuth(host string, port int) (CheckRDPAuthResponse, error)
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. @example ```javascript const rdp = require('nuclei/rdp'); const checkRDPAuth = rdp.CheckRDPAuth('acme.com', 3389); log(toJSON(checkRDPAuth)); ```
type IsRDPResponse ¶
IsRDPResponse is the response from the IsRDP function. this is returned by IsRDP function. @example ```javascript const rdp = require('nuclei/rdp'); const isRDP = rdp.IsRDP('acme.com', 3389); log(toJSON(isRDP)); ```
func IsRDP ¶
func IsRDP(host string, port int) (IsRDPResponse, error)
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. @example ```javascript const rdp = require('nuclei/rdp'); const isRDP = rdp.IsRDP('acme.com', 3389); log(toJSON(isRDP)); ```