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