Enable support for windows 8 in the exploit
parent
a4efa77878
commit
3101564a0a
|
@ -51,7 +51,7 @@ class MetasploitModule < Msf::Exploit::Local
|
||||||
end
|
end
|
||||||
|
|
||||||
def check
|
def check
|
||||||
if sysinfo['OS'] !~ /windows 7/i
|
if sysinfo['OS'] !~ /windows (7|8)/i
|
||||||
return Exploit::CheckCode::Unknown
|
return Exploit::CheckCode::Unknown
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue