Skip to content

rsync updates for protocol 32 - #3440

Closed
h00die wants to merge 1 commit into
nmap:masterfrom
h00die:rsync_32
Closed

rsync updates for protocol 32#3440
h00die wants to merge 1 commit into
nmap:masterfrom
h00die:rsync_32

Conversation

@h00die

@h00die h00die commented Aug 19, 2026

Copy link
Copy Markdown

Early 2025 rsync released protocol 32 which changed the banner. This PR updates the module to work against newer versions.

Related to rapid7/metasploit-framework#21793

Docker modules to tests against are located in the metasploit docs: https://github.com/rapid7/metasploit-framework/pull/21793/changes#diff-8285191c7c762648306aa3b78e7003bd91b65a08d8475cc0dd361fe6799862f3R8

Before

$ nmap -p 873 -sV -script=rsync-list-modules 127.0.0.1 
Starting Nmap 7.99 ( https://nmap.org ) at 2026-08-19 12:19 -0400
Warning: File ./nmap-services exists, but Nmap is using /usr/share/nmap/nmap-services for security and consistency reasons.  set NMAPDIR=. to give priority to files in your local directory (may affect the other data files too).
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00014s latency).

PORT    STATE SERVICE VERSION
873/tcp open  rsync   (protocol version 32)

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 0.59 seconds

After

$ sudo ./nmap -p 873 -sV -script=rsync-list-modules 127.0.0.1
Starting Nmap 7.991SVN ( https://nmap.org ) at 2026-08-19 12:22 -0400
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00013s latency).

PORT    STATE SERVICE VERSION
873/tcp open  rsync   (protocol version 32)
| rsync-list-modules: 
|   public              open share
|_  locked              password-protected share

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 0.44 seconds

Disclosure

klm-5.2 assisted with this change.

@nnposter

Copy link
Copy Markdown

Committed with a slight pattern modification as r39703. Thank you for contributing to Nmap.

@nmap-bot nmap-bot closed this in 8c161c6 Aug 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants