Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1003 Bytes

Rsync_Port_873.md

File metadata and controls

49 lines (35 loc) · 1003 Bytes

Rsync (Port 873)

Overview

  • rsync is a remote synchronization tool used for transferring and synchronizing files between two systems efficiently.
  • It is often used for backup and mirroring purposes.

Basic Usage

The basic syntax for rsync is as follows:

rsync [options] source destination

Example:

rsync -avz /local/directory/ user@remote:/remote/directory/


Manual Enumeration

1. Use nc or telnet to connect.

  nc [IP] [port]

2. List the available rsync modules by entering the following command:

  @RSYNCD: 31.0    
  #list          
  • Replace 31.0 with the version numbers obtained from the banner.

This command should list the available modules on the rsync server.

3. See the contents of an rsync module

  rsync --list-only rsync://<target>::<module_name>

Exploitation

  • If no Authentication is required
    • Try to read files.
    • Try to upload ssh files.