We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ef4b4c commit 83a179fCopy full SHA for 83a179f
modules/post/windows/gather/enum_shares.rb
@@ -56,7 +56,7 @@ def enum_recent_mounts(base_key)
56
recent_mounts = []
57
partial_path = base_key + "\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer"
58
full_path = "#{partial_path}\\Map Network Drive MRU"
59
- explorer_keys = registry_enumkeys(partial_path)
+ explorer_keys = registry_enumkeys(partial_path) || ''
60
if explorer_keys.include?("Map Network Drive MRU")
61
vals_found = registry_enumvals(full_path)
62
if vals_found
0 commit comments