Fixed false positive generated by vmci driver being detected

git-svn-id: file:///home/svn/framework3/trunk@9121 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Carlos Perez 2010-04-24 14:20:42 +00:00
parent e438294de9
commit 6e8fbe13ed
1 changed files with 1 additions and 4 deletions

View File

@ -63,10 +63,7 @@ def vmwarechk(session)
begin begin
key = session.sys.registry.open_key(HKEY_LOCAL_MACHINE, 'SYSTEM\ControlSet001\Services', KEY_READ) key = session.sys.registry.open_key(HKEY_LOCAL_MACHINE, 'SYSTEM\ControlSet001\Services', KEY_READ)
srvvals = key.enum_key srvvals = key.enum_key
if srvvals.include?("vmci") if srvvals.include?("vmdebug")
print_status("This is a VMware Virtual Machine")
vm = true
elsif srvvals.include?("vmdebug")
print_status("This is a VMware Virtual Machine") print_status("This is a VMware Virtual Machine")
vm = true vm = true
elsif srvvals.include?("vmmouse") elsif srvvals.include?("vmmouse")