Skip to content

Commit

Permalink
Update deprecated method call in lotus_domino_hashes module
Browse files Browse the repository at this point in the history
  • Loading branch information
errorxyz committed Sep 23, 2023
1 parent 68b24b1 commit ca9f579
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions modules/auxiliary/scanner/lotus/lotus_domino_hashes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,18 +174,18 @@ def dump_hashes(view_id, cookie, uri)
:port => rport,
:name => (ssl ? 'https' : 'http')
)
report_auth_info(
:host => rhost,
:port => rport,
:sname => (ssl ? 'https' : 'http'),
:user => short_name,
:pass => pass_hash,
:ptype => 'domino_hash',
:source_id => domino_svc&.id,
:source_type => 'service',
:proof => "WEBAPP=\"Lotus Domino\", USER_MAIL=#{user_mail}, HASH=#{pass_hash}, VHOST=#{vhost}",
:active => true
)

connection_details = {
module_fullname: self.fullname,
username: short_name,
private_data: pass_hash,
private_type: :nonreplayable_hash,
jtr_format: 'dominosec',
workspace_id: myworkspace_id,
proof: "WEBAPP=\"Lotus Domino\", USER_MAIL=#{user_mail}, HASH=#{pass_hash}, VHOST=#{vhost}",
status: Metasploit::Model::Login::Status::UNTRIED
}.merge(service_details)
create_credential_and_login(connection_details)
end
end

Expand Down

0 comments on commit ca9f579

Please sign in to comment.