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 IsVNCResponse ¶
IsVNCResponse is the response from the IsVNC function. @example ```javascript const vnc = require('nuclei/vnc'); const isVNC = vnc.IsVNC('acme.com', 5900); log(toJSON(isVNC)); ```
type VNCClient ¶ added in v3.4.7
type VNCClient struct{}
VNCClient is a client for VNC servers. @example ```javascript const vnc = require('nuclei/vnc'); const client = new vnc.VNCClient(); const connected = client.Connect('acme.com', 5900, 'password'); log(toJSON(connected)); ```
func (*VNCClient) Connect ¶ added in v3.4.7
func (c *VNCClient) Connect(ctx context.Context, host string, port int, password string) (bool, error)
Connect connects to VNC server using given password. If connection and authentication is successful, it returns true. If connection or authentication is unsuccessful, it returns false and error. The connection is closed after the function returns. @example ```javascript const vnc = require('nuclei/vnc'); const client = new vnc.VNCClient(); const connected = client.Connect('acme.com', 5900, 'password'); ```