Fixed false positive generated by vmci driver being detected
git-svn-id: file:///home/svn/framework3/trunk@9121 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
e438294de9
commit
6e8fbe13ed
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue