1. Fix enum_dns: .txt is not (or no longer a method)

2. Patch snmp_enum: bug #6500
unstable
sinn3r 2012-05-04 13:23:27 -05:00
parent 8b3b952ccd
commit babababeb1
1 changed files with 5 additions and 4 deletions

View File

@ -157,13 +157,14 @@ class Metasploit3 < Msf::Auxiliary
query = @res.query(target, "TXT")
if (query)
query.answer.each do |rr|
print_status("Text: #{rr.txt}, TXT")
print_status(rr.inspect)
print_status("Text: #{rr.inspect}")
report_note(:host => @nsinuse.to_s,
:proto => 'udp',
:sname => 'dns',
:port => 53 ,
:type => 'dns.enum',
:data => "#{rr.txt},TXT")
:data => rr.inspect)
end
end
end
@ -434,13 +435,13 @@ class Metasploit3 < Msf::Auxiliary
:type => 'dns.enum',
:data => "#{rr.nsdname},NS")
when "TXT"
print_status("Text: #{rr.txt} Record: TXT")
print_status("Text: #{rr.inspect}")
report_note(:host => nsip.address.to_s,
:proto => 'udp',
:sname => 'dns',
:port => 53 ,
:type => 'dns.enum',
:data => "#{rr.txt},TXT")
:data => rr.inspect)
when "SRV"
print_status("Host: #{rr.host} Port: #{rr.port} Priority: #{rr.priority} Record: SRV")
report_note(:host => nsip.address.to_s,