关于 DNSEnum:
DNSEnum 是一款非常强大的 域名信息收集脚本 它是由 参与backtrack 开发项目的程序员 所设计,这位名叫 Fillp (barbsie) Waeythens 的开发者是一个精通web渗透测试的安全人员,并对DNS信息收集有着非常丰富的经验。

在ubuntu 下由于缺少一些perl模块 会报错

使用前需要 安装一些perl 模块
操作如下:
sudo perl -MCPAN -e shell
cpan[1]> install Net::IP
cpan[1]> install Net::DNS
cpan[1]> install Net::Netmask
cpan[1]> install XML::Writer

DNSEnum 的基本使用

seclab@seclab:/opt/tools/dnsenum$ ./dnsenum.pl –enum r1ng.org
dnsenum.pl VERSION:1.2.2
Warning: can’t load Net::Whois::IP module, whois queries disabled.
Warning: can’t load WWW::Mechanize module, Google scraping desabled.
—– r1ng.org —–
Host’s addresses:
__________________
r1ng.org 600 IN A 114.66.2.236
Name Servers:
______________
dns23.hichina.com 551 IN A 119.145.145.249
dns23.hichina.com 551 IN A 218.30.103.243
dns23.hichina.com 551 IN A 218.244.147.253
dns23.hichina.com 551 IN A 222.73.40.39
dns24.hichina.com 8 IN A 119.145.145.250
dns24.hichina.com 8 IN A 218.30.103.246
dns24.hichina.com 8 IN A 218.244.147.254
dns24.hichina.com 8 IN A 222.73.40.40

Mail (MX) Servers:
___________________
mxbiz2.qq.com 711 IN CNAME
mx2.qq.com 82 IN A 112.90.141.252
mx2.qq.com 82 IN A 112.90.142.53
mx2.qq.com 82 IN A 112.90.142.54
mx2.qq.com 82 IN A 112.90.142.55
mx2.qq.com 82 IN A 112.90.142.56
mx2.qq.com 82 IN A 112.90.142.115
mx2.qq.com 82 IN A 112.90.142.116
mx2.qq.com 82 IN A 112.95.240.190
mx2.qq.com 82 IN A 112.95.240.191
mx2.qq.com 82 IN A 112.95.240.192
mx2.qq.com 82 IN A 112.95.240.193
mx2.qq.com 82 IN A 112.95.241.32
mx2.qq.com 82 IN A 112.95.241.33
mx2.qq.com 82 IN A 112.90.139.247
mx2.qq.com 82 IN A 112.90.140.86
mx2.qq.com 82 IN A 112.90.141.240
mxbiz1.qq.com 13952 IN CNAME
mx1.qq.com 436 IN A 112.95.240.190
mx1.qq.com 436 IN A 112.95.240.191
mx1.qq.com 436 IN A 112.95.240.192
mx1.qq.com 436 IN A 112.95.240.193
mx1.qq.com 436 IN A 112.95.241.32
mx1.qq.com 436 IN A 112.95.241.33
mx1.qq.com 436 IN A 112.90.139.247
mx1.qq.com 436 IN A 112.90.140.86
mx1.qq.com 436 IN A 112.90.141.240
mx1.qq.com 436 IN A 112.90.141.252
mx1.qq.com 436 IN A 112.90.142.53
mx1.qq.com 436 IN A 112.90.142.54
mx1.qq.com 436 IN A 112.90.142.55
mx1.qq.com 436 IN A 112.90.142.56
mx1.qq.com 436 IN A 112.90.142.115
mx1.qq.com 436 IN A 112.90.142.116

Trying Zone Transfers and getting Bind Versions:
________________________________________________
Trying Zone Transfer for r1ng.org on dns23.hichina.com …
AXFR record query failed: NOERROR

dns23.hichina.com Bind Version: I don’t know too.

Trying Zone Transfer for r1ng.org on dns24.hichina.com …
AXFR record query failed: NOERROR

dns24.hichina.com Bind Version: I don’t know too.

brute force file not specified, bay.

参数解释: –enum 后面跟进行DNS评估的目标域名
全部主机A记录,MX 邮件服务器 都通过伪造区域传输的方式被获取

详情请参阅 README.txt

文章来源:http://www.yesck.com/post/497/