diff --git a/modules/post/windows/gather/checkvm.rb b/modules/post/windows/gather/checkvm.rb index 8f7faadf96..7082eb7a96 100644 --- a/modules/post/windows/gather/checkvm.rb +++ b/modules/post/windows/gather/checkvm.rb @@ -88,11 +88,11 @@ class Metasploit3 < Msf::Post end if vm report_note( - :host => session, - :type => 'host.hypervisor', - :data => { :hypervisor => "MS Hyper-V" }, - :update => :unique_data - ) + :host => session, + :type => 'host.hypervisor', + :data => { :hypervisor => "MS Hyper-V" }, + :update => :unique_data + ) print_status("This is a Hyper-V Virtual Machine") return "MS Hyper-V" end @@ -147,11 +147,11 @@ class Metasploit3 < Msf::Post if vm report_note( - :host => session, - :type => 'host.hypervisor', - :data => { :hypervisor => "VMware" }, - :update => :unique_data - ) + :host => session, + :type => 'host.hypervisor', + :data => { :hypervisor => "VMware" }, + :update => :unique_data + ) print_status("This is a VMware Virtual Machine") return "VMWare" end @@ -186,11 +186,11 @@ class Metasploit3 < Msf::Post end if vm report_note( - :host => session, - :type => 'host.hypervisor', - :data => { :hypervisor => "VirtualPC" }, - :update => :unique_data - ) + :host => session, + :type => 'host.hypervisor', + :data => { :hypervisor => "VirtualPC" }, + :update => :unique_data + ) print_status("This is a VirtualPC Virtual Machine") return "VirtualPC" end @@ -271,11 +271,11 @@ class Metasploit3 < Msf::Post end if vm report_note( - :host => session, - :type => 'host.hypervisor', - :data => { :hypervisor => "VirtualBox" }, - :update => :unique_data - ) + :host => session, + :type => 'host.hypervisor', + :data => { :hypervisor => "VirtualBox" }, + :update => :unique_data + ) print_status("This is a Sun VirtualBox Virtual Machine") return "VirtualBox" end @@ -340,11 +340,11 @@ class Metasploit3 < Msf::Post end if vm report_note( - :host => session, - :type => 'host.hypervisor', - :data => { :hypervisor => "Xen" }, - :update => :unique_data - ) + :host => session, + :type => 'host.hypervisor', + :data => { :hypervisor => "Xen" }, + :update => :unique_data + ) print_status("This is a Xen Virtual Machine") return "Xen" end @@ -375,11 +375,11 @@ class Metasploit3 < Msf::Post if vm report_note( - :host => session, - :type => 'host.hypervisor', - :data => { :hypervisor => "Qemu/KVM" }, - :update => :unique_data - ) + :host => session, + :type => 'host.hypervisor', + :data => { :hypervisor => "Qemu/KVM" }, + :update => :unique_data + ) return "Qemu/KVM" end end