diff --git a/modules/auxiliary/scanner/rservices/rsh_login.rb b/modules/auxiliary/scanner/rservices/rsh_login.rb index 33a3c6a148..0b20e36c5b 100644 --- a/modules/auxiliary/scanner/rservices/rsh_login.rb +++ b/modules/auxiliary/scanner/rservices/rsh_login.rb @@ -140,7 +140,7 @@ class Metasploit3 < Msf::Auxiliary select(nil, nil, nil, 2**this_attempt) vprint_error "#{rhost}:#{rport} rsh - Retrying '#{user}' from '#{luser}' due to reset" end - ret = conect_from_privileged_port + ret = connect_from_privileged_port break if ret == :connected this_attempt += 1 end