Fix false positive on win 7 x64 with vmware installed

git-svn-id: file:///home/svn/framework3/trunk@12927 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Carlos Perez 2011-06-12 14:50:55 +00:00
parent e3c0cc3b8f
commit 611b0c9e88
1 changed files with 2 additions and 3 deletions

View File

@ -132,9 +132,8 @@ class Metasploit3 < Msf::Post
begin
key = session.sys.registry.open_key(HKEY_LOCAL_MACHINE, 'SYSTEM\ControlSet001\Services', KEY_READ)
srvvals = key.enum_key
if srvvals.include?("vpcbus")
vm = true
elsif srvvals.include?("vpc-s3")
if srvvals.include?("vpc-s3")
vm = true
elsif srvvals.include?("vpcuhub")
vm = true