From 6e8fbe13ed5effe94a3ae1fe9089629d66e8bba3 Mon Sep 17 00:00:00 2001 From: Carlos Perez Date: Sat, 24 Apr 2010 14:20:42 +0000 Subject: [PATCH] Fixed false positive generated by vmci driver being detected git-svn-id: file:///home/svn/framework3/trunk@9121 4d416f70-5f16-0410-b530-b9f4589650da --- scripts/meterpreter/checkvm.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/meterpreter/checkvm.rb b/scripts/meterpreter/checkvm.rb index 2ff1d22004..9f5461e8d9 100644 --- a/scripts/meterpreter/checkvm.rb +++ b/scripts/meterpreter/checkvm.rb @@ -63,10 +63,7 @@ def vmwarechk(session) begin key = session.sys.registry.open_key(HKEY_LOCAL_MACHINE, 'SYSTEM\ControlSet001\Services', KEY_READ) srvvals = key.enum_key - if srvvals.include?("vmci") - print_status("This is a VMware Virtual Machine") - vm = true - elsif srvvals.include?("vmdebug") + if srvvals.include?("vmdebug") print_status("This is a VMware Virtual Machine") vm = true elsif srvvals.include?("vmmouse")