Resolve address before storing the working cred

bug/bundler_fix
Jon Hart 2014-12-15 09:11:12 -08:00
parent 5ca8f187b3
commit c93dc04a52
No known key found for this signature in database
GPG Key ID: 2FA9F0A3AFA8E9D3
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ class Metasploit3 < Msf::Exploit::Remote
vprint_good("#{peer} - Found analytics host: #{analytics_host}")
print_good("#{peer} - Login successful! (#{user}:#{pass})")
service_data = {
address: rhost,
address: Rex::Socket.getaddress(rhost, true),
port: rport,
service_name: (ssl ? 'https' : 'http'),
protocol: 'tcp',