nuclei/pkg/js/generated/ts/rsync.ts
Tarun Koyalwar 8a2ff17ad8
allow specifying self-contained at http request level (#4812)
* 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
2024-03-01 16:38:56 +05:30

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,
}