lib/metasploit/credential/exporter/pwdump.rb in metasploit-credential-0.14.8 vs lib/metasploit/credential/exporter/pwdump.rb in metasploit-credential-1.0.0.pre.rails.pre.4.0b

- old
+ new

@@ -135,10 +135,10 @@ # This string is added to make it easier for a human to scan the file. # @param login [Metasploit::Credential::Login] the login to look at # @return [String] def format_service_for_login(login) service = login.service - address = service.host.address + address = service.host.address.to_s "#{address}:#{service.port}/#{service.proto} (#{service.name})" end # Renders the collection credential objects in {#data} into the `ERB` template at {TEMPLATE_PATH} # @return [String]