Merge branch 'master' of https://github.com/rapid7/metasploit-framework
commit
79620ed660
|
@ -20,9 +20,9 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
an arbitrary object instantiation flaw in the XML request processor.
|
an arbitrary object instantiation flaw in the XML request processor.
|
||||||
},
|
},
|
||||||
'Author' => [
|
'Author' => [
|
||||||
'hdm', #author
|
'hdm', #author
|
||||||
'jjarmoc' #improvements
|
'jjarmoc' #improvements
|
||||||
],
|
],
|
||||||
'License' => MSF_LICENSE,
|
'License' => MSF_LICENSE,
|
||||||
'References' =>
|
'References' =>
|
||||||
[
|
[
|
||||||
|
|
|
@ -56,14 +56,8 @@ class Metasploit3 < Msf::Exploit::Local
|
||||||
#
|
#
|
||||||
vuln = false
|
vuln = false
|
||||||
winver = sysinfo["OS"]
|
winver = sysinfo["OS"]
|
||||||
affected = [ 'Windows Vista', 'Windows 7', 'Windows 2008', 'Windows 8' ]
|
if winver !~ /Windows Vista|Windows 2008|Windows [78]/
|
||||||
affected.each { |v|
|
print_error("#{winver} is not vulnerable.")
|
||||||
if winver.include? v
|
|
||||||
vuln = true
|
|
||||||
end
|
|
||||||
}
|
|
||||||
if not vuln
|
|
||||||
print_error("#{winver} does not have UAC")
|
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -43,13 +43,7 @@ class Metasploit3 < Msf::Post
|
||||||
vuln = false
|
vuln = false
|
||||||
sysinfo = session.sys.config.sysinfo
|
sysinfo = session.sys.config.sysinfo
|
||||||
winver = sysinfo["OS"]
|
winver = sysinfo["OS"]
|
||||||
affected = [ 'Windows Vista', 'Windows 7', 'Windows 2008', 'Windows 8' ]
|
if winver !~ /Windows Vista|Windows 2008|Windows [78]/
|
||||||
affected.each { |v|
|
|
||||||
if winver.include? v
|
|
||||||
vuln = true
|
|
||||||
end
|
|
||||||
}
|
|
||||||
if not vuln
|
|
||||||
print_error("#{winver} is not vulnerable.")
|
print_error("#{winver} is not vulnerable.")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
|
@ -15,7 +15,7 @@ class Metasploit3 < Msf::Post
|
||||||
|
|
||||||
def initialize(info={})
|
def initialize(info={})
|
||||||
super( update_info(info,
|
super( update_info(info,
|
||||||
'Name' => 'Steam client session Collector.',
|
'Name' => 'Steam Client Session Collector.',
|
||||||
'Description' => %q{ This module will collect Steam session information from an
|
'Description' => %q{ This module will collect Steam session information from an
|
||||||
account set to autologin. },
|
account set to autologin. },
|
||||||
'License' => MSF_LICENSE,
|
'License' => MSF_LICENSE,
|
||||||
|
|
Loading…
Reference in New Issue