fix broken ENUM_TLD in auxiliary/gather/dns_enum

git-svn-id: file:///home/svn/framework3/trunk@10253 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2010-09-07 15:44:38 +00:00
parent ac3b1ba630
commit 8814752e67
1 changed files with 10 additions and 12 deletions

View File

@ -195,7 +195,7 @@ class Metasploit3 < Msf::Auxiliary
"vg", "vi", "wf", "eh", "ye", "yu", "za", "zr", "zm", "zw", "int",
"gs", "info", "biz", "su", "name", "coop", "aero" ]
tlds.each do |tld|
query1 = @res.search("#{target}.#{tld}")
if (query1)
query1.answer.each do |rr|
@ -206,9 +206,7 @@ class Metasploit3 < Msf::Auxiliary
:data => "#{rr.address.to_s},#{target}.#{tld},A") if rr.class == Net::DNS::RR::A
end
end
end
end