Get rid of interior tabs

bug/bundler_fix
Tod Beardsley 2013-09-27 16:04:03 -05:00
parent d869b1bb70
commit 63d638888d
2 changed files with 10 additions and 9 deletions

View File

@ -39,7 +39,7 @@ class Unattend
#
def self.extract_deployment(deployment)
return [] if deployment.nil?
domain = deployment.elements['Login/Credentials/Domain'].get_text.value rescue ''
domain = deployment.elements['Login/Credentials/Domain'].get_text.value rescue ''
username = deployment.elements['Login/Credentials/Username'].get_text.value rescue ''
password = deployment.elements['Login/Credentials/Password'].get_text.value rescue ''
plaintext = deployment.elements['Login/Credentials/Password/PlainText'].get_text.value rescue 'true'
@ -57,7 +57,7 @@ class Unattend
#
def self.extract_domain_join(credentials)
return [] if credentials.nil?
domain = credentials.elements['Domain'].get_text.value rescue ''
domain = credentials.elements['Domain'].get_text.value rescue ''
username = credentials.elements['Username'].get_text.value rescue ''
password = credentials.elements['Password'].get_text.value rescue ''
@ -70,7 +70,7 @@ class Unattend
def self.extract_autologon(auto_logon)
return [] if auto_logon.nil?
domain = auto_logon.elements['Domain'].get_text.value rescue ''
domain = auto_logon.elements['Domain'].get_text.value rescue ''
username = auto_logon.elements['Username'].get_text.value rescue ''
password = auto_logon.elements['Password/Value'].get_text.value rescue ''
plaintext = auto_logon.elements['Password/PlainText'].get_text.value rescue 'true'

View File

@ -12,17 +12,18 @@ class Metasploit3 < Msf::Auxiliary
def initialize(info={})
super( update_info( info,
'Name' => 'Auxilliary Parser Windows Unattend Passwords',
'Description' => %q{
'Name' => 'Auxilliary Parser Windows Unattend Passwords',
'Description' => %q{
This module parses Unattend files in the target directory.
See also: post/windows/gather/enum_unattend
},
'License' => MSF_LICENSE,
'Author' =>[
'Ben Campbell <eat_meatballs[at]hotmail.co.uk>',
'License' => MSF_LICENSE,
'Author' =>
[
'Ben Campbell <eat_meatballs[at]hotmail.co.uk>',
],
'References' =>
'References' =>
[
['URL', 'http://technet.microsoft.com/en-us/library/ff715801'],
['URL', 'http://technet.microsoft.com/en-us/library/cc749415(v=ws.10).aspx'],