Rsync.RsyncClient
Class: RsyncClient
rsync.RsyncClient
RsyncClient is a minimal Rsync client for nuclei scripts.
Example
const rsync = require('nuclei/rsync');
const client = new rsync.Client();
Table of contents
Constructors
Methods
Constructors
constructor
• new RsyncClient(): RsyncClient
Returns
Defined in
rsync.ts:15
Methods
IsRsync
▸ IsRsync(host
, port
): IsRsyncResponse
IsRsync checks if a host is running a Rsync server.
Parameters
Name | Type |
---|---|
host | string |
port | number |
Returns
Example
const rsync = require('nuclei/rsync');
const isRsync = rsync.IsRsync('acme.com', 873);
log(toJSON(isRsync));
Defined in
rsync.ts:25
Was this page helpful?