From 0c82b0a9228d645c6e6f294f195c74cfdb885356 Mon Sep 17 00:00:00 2001 From: Rob Fuller Date: Sat, 24 Feb 2018 16:06:55 -0500 Subject: [PATCH] Support Windows 2008/7 and above Probably about time that we supported versions less than 10 years old :) --- modules/post/windows/gather/enum_ms_product_keys.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/post/windows/gather/enum_ms_product_keys.rb b/modules/post/windows/gather/enum_ms_product_keys.rb index e552c29efc..044f4d0dc7 100644 --- a/modules/post/windows/gather/enum_ms_product_keys.rb +++ b/modules/post/windows/gather/enum_ms_product_keys.rb @@ -31,6 +31,7 @@ class MetasploitModule < Msf::Post keys = [ [ "HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", "DigitalProductId" ], + [ "HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", "DigitalProductId4" ], [ "HKLM\\SOFTWARE\\Microsoft\\Office\\11.0\\Registration\\{91110409-6000-11D3-8CFE-0150048383C9}", "DigitalProductId" ], [ "HKLM\\SOFTWARE\\Microsoft\\Office\\12.0\\Registration\\{91120000-00CA-0000-0000-0000000FF1CE}", "DigitalProductId" ], [ "HKLM\\SOFTWARE\\Microsoft\\Office\\12.0\\Registration\\{91120000-0014-0000-0000-0000000FF1CE}", "DigitalProductId" ],