vnc

(vnc).VNCClient

VNCClient is a minimal VNC client for nuclei scripts.

Kind: inner class of vnc

vncClient.IsVNC(host, port) ⇒ IsVNCResponse

IsVNC checks if a host is running a VNC server.

Kind: instance method of VNCClient
Returns: IsVNCResponse - - The response indicating if the host is running a VNC server and the banner of the VNC server.
Throws:

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

Example

let m = require('nuclei/vnc');
let c = m.VNCClient();
let response = c.IsVNC('localhost', 5900);

(vnc).IsVNCResponse : object

IsVNCResponse is an object containing the response of the IsVNC method.

Kind: inner typedef of vnc