mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 21:35:26 +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
35 lines
676 B
TypeScript
Executable File
35 lines
676 B
TypeScript
Executable File
|
|
|
|
/**
|
|
* IsRsync checks if a host is running a Rsync server.
|
|
* @example
|
|
* ```javascript
|
|
* const rsync = require('nuclei/rsync');
|
|
* const isRsync = rsync.IsRsync('acme.com', 873);
|
|
* log(toJSON(isRsync));
|
|
* ```
|
|
*/
|
|
export function IsRsync(host: string, port: number): IsRsyncResponse | null {
|
|
return null;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* IsRsyncResponse is the response from the IsRsync function.
|
|
* this is returned by IsRsync function.
|
|
* @example
|
|
* ```javascript
|
|
* const rsync = require('nuclei/rsync');
|
|
* const isRsync = rsync.IsRsync('acme.com', 873);
|
|
* log(toJSON(isRsync));
|
|
* ```
|
|
*/
|
|
export interface IsRsyncResponse {
|
|
|
|
IsRsync?: boolean,
|
|
|
|
Banner?: string,
|
|
}
|
|
|