From eced6619e95db06a435e57cea0b53e5950a94c19 Mon Sep 17 00:00:00 2001 From: Wei Chen Date: Tue, 26 Jul 2011 16:25:42 +0000 Subject: [PATCH] I believe I meant 'next', not 'break' git-svn-id: file:///home/svn/framework3/trunk@13344 4d416f70-5f16-0410-b530-b9f4589650da --- modules/post/windows/gather/enum_imail_pwds.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)