Methods
IsRsync(host, port) → {IsRsyncResponse}
IsRsync checks if a host is running a Rsync server.
Parameters:
Name | Type | Description |
---|---|---|
host | string | The host to check. |
port | int | The port to check. |
- Source
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);