diff --git a/CHANGELOG b/CHANGELOG index caf258626..46d6a6629 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ #Nmap Changelog ($Id$); -*-text-*- +o [NSE][GH#3440] The rsync library was not correctly parsing server responses + for protocol version 32. [h00die] + o [NSE][GH#3430] Nmap now tolerates TLS targets that do not send close_notify. [nnposter] diff --git a/nselib/rsync.lua b/nselib/rsync.lua index f477524d1..6347bd8c0 100644 --- a/nselib/rsync.lua +++ b/nselib/rsync.lua @@ -62,7 +62,7 @@ Helper = { if ( not(status) ) then return false, data end - if ( not(data:match("^@RSYNCD: [%.%d]+$")) ) then + if ( not(data:match("^@RSYNCD: [.%d]+%f[ \0]")) ) then return false, "Protocol error" end return true