Check for when reg key list is nil
git-svn-id: file:///home/svn/framework3/trunk@13157 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
dc84ee6aab
commit
8e5c5e114d
|
@ -47,8 +47,11 @@ class Metasploit3 < Msf::Post
|
||||||
]
|
]
|
||||||
apps = []
|
apps = []
|
||||||
appkeys.each do |keyx86|
|
appkeys.each do |keyx86|
|
||||||
registry_enumkeys(keyx86).each do |ak|
|
found_keys = registry_enumkeys(keyx86)
|
||||||
apps << keyx86 +"\\" + ak
|
if found_keys
|
||||||
|
found_keys.each do |ak|
|
||||||
|
apps << keyx86 +"\\" + ak
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue