diff --git a/modules/exploits/windows/local/capcom_sys_exec.rb b/modules/exploits/windows/local/capcom_sys_exec.rb index c840707b6d..399a42c983 100644 --- a/modules/exploits/windows/local/capcom_sys_exec.rb +++ b/modules/exploits/windows/local/capcom_sys_exec.rb @@ -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