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

RsyncClient

Defined in

rsync.ts:15

Methods

IsRsync

IsRsync(host, port): IsRsyncResponse

IsRsync checks if a host is running a Rsync server.

Parameters

NameType
hoststring
portnumber

Returns

IsRsyncResponse

Example

const rsync = require('nuclei/rsync');
const isRsync = rsync.IsRsync('acme.com', 873);
log(toJSON(isRsync));

Defined in

rsync.ts:25