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-12384bug/bundler_fix
parent
c666d0494f
commit
63da27ece0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue