Namespace: vnc

Table of contents

Interfaces

Functions

Functions

IsVNC

IsVNC(host, port): IsVNCResponse | null

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

NameType
hoststring
portnumber

Returns

IsVNCResponse | null

Example

const vnc = require('nuclei/vnc');
const isVNC = vnc.IsVNC('acme.com', 5900);
log(toJSON(isVNC));

Defined in

vnc.ts:14