Vnc.VNCClient
Class: VNCClient
vnc.VNCClient
VNCClient is a minimal VNC client for nuclei scripts.
Example
const vnc = require('nuclei/vnc');
const client = new vnc.Client();
Table of contents
Constructors
Methods
Constructors
constructor
• new VNCClient(): VNCClient
Returns
Defined in
vnc.ts:15
Methods
IsVNC
▸ IsVNC(host
, port
): IsVNCResponse
IsVNC checks if a host is running a VNC server. It returns a boolean indicating if the host is running a VNC server and the banner of the VNC server.
Parameters
Name | Type |
---|---|
host | string |
port | number |
Returns
Example
const vnc = require('nuclei/vnc');
const isVNC = vnc.IsVNC('acme.com', 5900);
log(toJSON(isVNC));
Defined in
vnc.ts:27
Was this page helpful?