Skip to content

Commit e5cd88a

Browse files
committed
Land rapid7#5044, missing HKLM in regkey
2 parents d5030f7 + 63da27e commit e5cd88a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/post/windows/gather/checkvm.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def xenchk(session)
251251
end
252252
end
253253
if not vm
254-
srvvals = registry_enumkeys('HARDWARE\ACPI\FADT')
254+
srvvals = registry_enumkeys('HKLM\HARDWARE\ACPI\FADT')
255255
if srvvals and srvvals.include?("Xen")
256256
vm = true
257257
end

0 commit comments

Comments
 (0)