首页 公告 项目 RSS

如何使用metasploit挖掘邮箱地址

June 21, 2017 本文有 386 个字 需要花费 1 分钟阅读

简介

这个虽然说实际用处不大,但是目的就是为了讲解metasploit的这个模块

操作

打开metasploit
./msfconsole
use gather/search_email_collector
显示配置选项
show options

msf auxiliary(search_email_collector) > show options

Module options (auxiliary/gather/search_email_collector):

   Name           Current Setting  Required  Description
   ----           ---------------  --------  -----------
   DOMAIN                          yes       The domain name to locate email addresses for
   OUTFILE                         no        A filename to store the generated email list
   SEARCH_BING    true             yes       Enable Bing as a backend search engine
   SEARCH_GOOGLE  true             yes       Enable Google as a backend search engine
   SEARCH_YAHOO   true             yes       Enable Yahoo! as a backend search engine

设置邮箱域名
set domain 163.com
设置保存邮箱列表的文件
set outfile 163.txt
执行
exploit
输出

msf auxiliary(search_email_collector) > exploit

[*] Harvesting emails .....
[*] Searching Google for email addresses from 163.com
[*] Extracting emails from Google search results...
[*] Searching Bing email addresses from 163.com
[*] Extracting emails from Bing search results...
[*] Searching Yahoo for email addresses from 163.com
[*] Extracting emails from Yahoo search results...
[*] Located 66 email addresses for 163.com
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	[email protected]
[*] 	zth@163 com
[*] Writing email address list to 163.txt...
[*] Auxiliary module execution completed

其实这个功能不怎么实用,但是还是可以玩玩的
Having fun