Skip to content

Commit

Permalink
Fix missing method error when printing ticket contents from a kirbi f…
Browse files Browse the repository at this point in the history
…ile format
  • Loading branch information
dwelch-r7 committed Jan 13, 2023
1 parent 9c2b813 commit 75153ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/msf/core/exploit/remote/kerberos/ticket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def print_contents(path, key: nil)
elsif kirbi?(header)
print_status "Kirbi File:#{path}"
krb_cred = Rex::Proto::Kerberos::Model::KrbCred.decode(File.binread(path))
ccache = kirbi_to_ccache(krb_cred)
ccache = Msf::Exploit::Remote::Kerberos::TicketConverter.kirbi_to_ccache(krb_cred)
print_ccache_contents(ccache, key: key)
else
fail_with(Msf::Module::Failure::BadConfig, 'Unknown file format')
Expand Down

0 comments on commit 75153ad

Please sign in to comment.