update to store creds using the new method

bug/bundler_fix
Josh Abraham 2015-07-02 08:22:21 -04:00
parent 8381d4f994
commit dfa71a2b44
1 changed files with 9 additions and 7 deletions

View File

@ -154,13 +154,15 @@ class Metasploit3 < Msf::Auxiliary
end
print_good("#{ip} - Found user: #{comp_user}")
report_note(
:host => ip,
:proto => 'tcp',
:port => rport,
:type => 'smb_loggedin_users',
:data => { :user => comp_user },
:update => :unique_data
credential_core = create_credential(
origin_type: :service,
address: ip,
port: rport,
service_name: 'smb',
protocol: 'tcp',
module_fullname: self.fullname,
workspace_id: myworkspace.id,
username: comp_user
)
end