Get rid of interior tabs
parent
d869b1bb70
commit
63d638888d
|
@ -39,7 +39,7 @@ class Unattend
|
||||||
#
|
#
|
||||||
def self.extract_deployment(deployment)
|
def self.extract_deployment(deployment)
|
||||||
return [] if deployment.nil?
|
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 ''
|
username = deployment.elements['Login/Credentials/Username'].get_text.value rescue ''
|
||||||
password = deployment.elements['Login/Credentials/Password'].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'
|
plaintext = deployment.elements['Login/Credentials/Password/PlainText'].get_text.value rescue 'true'
|
||||||
|
@ -57,7 +57,7 @@ class Unattend
|
||||||
#
|
#
|
||||||
def self.extract_domain_join(credentials)
|
def self.extract_domain_join(credentials)
|
||||||
return [] if credentials.nil?
|
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 ''
|
username = credentials.elements['Username'].get_text.value rescue ''
|
||||||
password = credentials.elements['Password'].get_text.value rescue ''
|
password = credentials.elements['Password'].get_text.value rescue ''
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ class Unattend
|
||||||
def self.extract_autologon(auto_logon)
|
def self.extract_autologon(auto_logon)
|
||||||
return [] if auto_logon.nil?
|
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 ''
|
username = auto_logon.elements['Username'].get_text.value rescue ''
|
||||||
password = auto_logon.elements['Password/Value'].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'
|
plaintext = auto_logon.elements['Password/PlainText'].get_text.value rescue 'true'
|
||||||
|
|
|
@ -12,17 +12,18 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
|
|
||||||
def initialize(info={})
|
def initialize(info={})
|
||||||
super( update_info( info,
|
super( update_info( info,
|
||||||
'Name' => 'Auxilliary Parser Windows Unattend Passwords',
|
'Name' => 'Auxilliary Parser Windows Unattend Passwords',
|
||||||
'Description' => %q{
|
'Description' => %q{
|
||||||
This module parses Unattend files in the target directory.
|
This module parses Unattend files in the target directory.
|
||||||
|
|
||||||
See also: post/windows/gather/enum_unattend
|
See also: post/windows/gather/enum_unattend
|
||||||
},
|
},
|
||||||
'License' => MSF_LICENSE,
|
'License' => MSF_LICENSE,
|
||||||
'Author' =>[
|
'Author' =>
|
||||||
'Ben Campbell <eat_meatballs[at]hotmail.co.uk>',
|
[
|
||||||
|
'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/ff715801'],
|
||||||
['URL', 'http://technet.microsoft.com/en-us/library/cc749415(v=ws.10).aspx'],
|
['URL', 'http://technet.microsoft.com/en-us/library/cc749415(v=ws.10).aspx'],
|
||||||
|
|
Loading…
Reference in New Issue