Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
projectdiscovery
GitHub Repository: projectdiscovery/nuclei
Path: blob/dev/pkg/js/generated/ts/vnc.ts
2070 views
1
2
3
/**
4
* IsVNC checks if a host is running a VNC server.
5
* It returns a boolean indicating if the host is running a VNC server
6
* and the banner of the VNC server.
7
* @example
8
* ```javascript
9
* const vnc = require('nuclei/vnc');
10
* const isVNC = vnc.IsVNC('acme.com', 5900);
11
* log(toJSON(isVNC));
12
* ```
13
*/
14
export function IsVNC(host: string, port: number): IsVNCResponse | null {
15
return null;
16
}
17
18
19
20
/**
21
* IsVNCResponse is the response from the IsVNC function.
22
* @example
23
* ```javascript
24
* const vnc = require('nuclei/vnc');
25
* const isVNC = vnc.IsVNC('acme.com', 5900);
26
* log(toJSON(isVNC));
27
* ```
28
*/
29
export interface IsVNCResponse {
30
31
IsVNC?: boolean,
32
33
Banner?: string,
34
}
35
36
37