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,10 +47,13 @@ class Metasploit3 < Msf::Post
|
|||
]
|
||||
apps = []
|
||||
appkeys.each do |keyx86|
|
||||
registry_enumkeys(keyx86).each do |ak|
|
||||
found_keys = registry_enumkeys(keyx86)
|
||||
if found_keys
|
||||
found_keys.each do |ak|
|
||||
apps << keyx86 +"\\" + ak
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
t = []
|
||||
while(not apps.empty?)
|
||||
|
|
Loading…
Reference in New Issue