Advanced Ethical Hacking Institute in Pune

As discussed in CEH.

Here is a very easy tutorial on how to collect email addresses with metasploit.

1)First thing to do is open a msfconsole and type

Code:
search gather
2) Type
Code:
use gather/search_email_collector
3) Now you need to set the domain you can use what you want eg gmail.com, yahoo.com for this tutorial we will use gmail.com
Code:
set domain gmail.com

then

Code:
run
Now you should have a list of email addreses its as simple as that.
Forgot to add you can also output to a txt file to make a list use this before or after “set domain”
Code:
set outfile /root/list.txt

This will ouput file to desktop.