rsync

(rsync).RsyncClient

RsyncClient is a minimal Rsync client for nuclei scripts.

Kind: inner class of rsync

rsyncClient.IsRsync(host, port) ⇒ IsRsyncResponse

IsRsync checks if a host is running a Rsync server.

Kind: instance method of RsyncClient
Returns: IsRsyncResponse - - The response from the IsRsync check.
Throws:

  • error - The error encountered during the IsRsync check.
ParamTypeDescription
hoststringThe host to check.
portintThe port to check.

Example

let m = require('nuclei/rsync');
let c = m.RsyncClient();
let response = c.IsRsync('localhost', 22);

(rsync).IsRsyncResponse : object

IsRsyncResponse is an object containing the response from the IsRsync check.

Kind: inner typedef of rsync