Fix false positive on win 7 x64 with vmware installed
git-svn-id: file:///home/svn/framework3/trunk@12927 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
e3c0cc3b8f
commit
611b0c9e88
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue