mirror of
https://github.com/nmap/nmap.git
synced 2026-08-28 04:25:15 +00:00
Tolerate trailing data in the rsync version response. Close #3440
This commit is contained in:
parent
db4aefddfa
commit
8c161c6d7f
2 changed files with 4 additions and 1 deletions
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue