Methods
IsVNC(host, port) → {IsVNCResponse}
IsVNC checks if a host is running a VNC server.
Parameters:
Name | Type | Description |
---|---|---|
host | string | The host to check. |
port | number | The port to check. |
- Source
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);