Dont report creds

We dont know if a DOMAIN or IP is specified etc.
bug/bundler_fix
Meatballs 2014-04-15 21:14:49 +01:00
parent fc018eb32e
commit bd9b5add49
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
1 changed files with 0 additions and 22 deletions

View File

@ -66,7 +66,6 @@ class Metasploit3 < Msf::Post
err_msg = 'NERR_PasswordTooShort'
when 0
print_good('Password change successful.')
report_creds(username, new_password, domain)
else
err_msg = "unknown error code: #{result['return']}"
end
@ -77,26 +76,5 @@ class Metasploit3 < Msf::Post
end
def report_creds(user, pass, domain)
if session.db_record
source_id = session.db_record.id
else
source_id = nil
end
unless domain
domain = session.sock.peerhost
end
report_auth_info(
:host => domain,
:port => 445,
:sname => 'smb',
:proto => 'tcp',
:source_id => source_id,
:source_type => "exploit",
:user => user,
:pass => pass)
end
end