add missing HKLM root to regkey

the chevkm windows psot module had HKLM
missing from the front of one of it's reg key
paths. This was missed in Rails 3 due to the
error being swallowed unexpectedly. in rails 4
we actually see this cause a stack trace

MSP-12384
bug/bundler_fix
David Maloney 2015-03-31 14:17:18 -05:00
parent c666d0494f
commit 63da27ece0
No known key found for this signature in database
GPG Key ID: DEDBA9DC3A913DB2
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ class Metasploit3 < Msf::Post
end
end
if not vm
srvvals = registry_enumkeys('HARDWARE\ACPI\FADT')
srvvals = registry_enumkeys('HKLM\HARDWARE\ACPI\FADT')
if srvvals and srvvals.include?("Xen")
vm = true
end