mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 17:25:28 +00:00
* allow specifying self-contained at requestlevel * fix IsSMTP js example * update smtp + fix examples * update smtp error message * add code reference in js protocol * update js docs * remove debug stmt
36 lines
705 B
TypeScript
Executable File
36 lines
705 B
TypeScript
Executable File
|
|
|
|
/**
|
|
* 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.
|
|
* @example
|
|
* ```javascript
|
|
* const vnc = require('nuclei/vnc');
|
|
* const isVNC = vnc.IsVNC('acme.com', 5900);
|
|
* log(toJSON(isVNC));
|
|
* ```
|
|
*/
|
|
export function IsVNC(host: string, port: number): IsVNCResponse | null {
|
|
return null;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* IsVNCResponse is the response from the IsVNC function.
|
|
* @example
|
|
* ```javascript
|
|
* const vnc = require('nuclei/vnc');
|
|
* const isVNC = vnc.IsVNC('acme.com', 5900);
|
|
* log(toJSON(isVNC));
|
|
* ```
|
|
*/
|
|
export interface IsVNCResponse {
|
|
|
|
IsVNC?: boolean,
|
|
|
|
Banner?: string,
|
|
}
|
|
|