Documentation ¶
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 }
type IsRDPResponse ¶
type RDPClient ¶
type RDPClient struct{}
RDPClient is a client for rdp servers
func (*RDPClient) CheckRDPAuth ¶
func (c *RDPClient) 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.
func (*RDPClient) IsRDP ¶
func (c *RDPClient) 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.
Click to show internal directories.
Click to hide internal directories.