diff --git a/modules/post/windows/gather/enum_imail_pwds.rb b/modules/post/windows/gather/enum_imail_pwds.rb index 3611fe3631..d17eb5b7c6 100644 --- a/modules/post/windows/gather/enum_imail_pwds.rb +++ b/modules/post/windows/gather/enum_imail_pwds.rb @@ -81,7 +81,7 @@ class Metasploit3 < Msf::Post users = [] users_key.each do |key| #Filter out '_aliases' - break if key =~ /_aliases/ + next if key =~ /_aliases/ print_status("Grabbing key: #{key}") if datastore['VERBOSE'] @@ -192,6 +192,8 @@ class Metasploit3 < Msf::Post imail_user = datastore['IMAILUSER'] imail_domain = datastore['IMAILDOMAIN'] + print_status("Download iMail user information...") if datastore['VERBOSE'] == false + #Download user data. If no user specified, we dump it all. users = download_info(imail_user, imail_domain)