Add Windows 10 entry to the version check regex

bug/bundler_fix
OJ 2016-04-13 08:23:01 +10:00
parent 1256a5bc88
commit 3898d11aa7
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ module Msf::Post::Windows::Priv
uac = false uac = false
winversion = session.sys.config.sysinfo['OS'] winversion = session.sys.config.sysinfo['OS']
if winversion =~ /Windows (Vista|7|8|2008|2012)/ if winversion =~ /Windows (Vista|7|8|2008|2012|10)/
unless is_system? unless is_system?
begin begin
enable_lua = registry_getvaldata( enable_lua = registry_getvaldata(