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