rsync~ RsyncClient

RsyncClient is a minimal Rsync client for nuclei scripts.

Constructor

new RsyncClient()

Methods

IsRsync(host, port) → {IsRsyncResponse}

IsRsync checks if a host is running a Rsync server.
Parameters:
NameTypeDescription
hoststringThe host to check.
portintThe port to check.
Throws:
- The error encountered during the IsRsync check.
Type
error
Returns:
- The response from the IsRsync check.
Type: 
IsRsyncResponse
Example
let m = require('nuclei/rsync');
let c = m.RsyncClient();
let response = c.IsRsync('localhost', 22);