vnc~ VNCClient

VNCClient is a minimal VNC client for nuclei scripts.

Constructor

new VNCClient()

Methods

IsVNC(host, port) → {IsVNCResponse}

IsVNC checks if a host is running a VNC server.
Parameters:
NameTypeDescription
hoststringThe host to check.
portnumberThe port to check.
Throws:
- The error encountered during the check.
Type
error
Returns:
- The response indicating if the host is running a VNC server and the banner of the VNC server.
Type: 
IsVNCResponse
Example
let m = require('nuclei/vnc');
let c = m.VNCClient();
let response = c.IsVNC('localhost', 5900);