Skip to content

Commit 0871579

Browse files
committed
Land rapid7#4048, rsync scanner version check
2 parents d1523c5 + c2174c7 commit 0871579

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/auxiliary/scanner/rsync/modules_list.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ def run_host(ip)
3232
connect
3333
version = sock.get_once
3434

35+
return if version.blank?
36+
3537
print_good("#{ip}:#{rport} - rsync #{version.strip} found")
3638
report_service(:host => ip, :port => rport, :proto => 'tcp', :name => 'rsync')
3739
report_note(

0 commit comments

Comments
 (0)