cravis error solve

bug/bundler_fix
root 2015-04-03 16:25:18 +05:00
parent 4bd40fed7f
commit be829e77ba
2 changed files with 5 additions and 7 deletions

View File

@ -46,8 +46,7 @@ class Metasploit3 < Msf::Auxiliary
# Not compatible today # Not compatible today
def support_ipv6? def support_ipv6?
false false
end end
def setup def setup
super super
@state = {} @state = {}

View File

@ -69,8 +69,7 @@ class Metasploit3 < Msf::Auxiliary
end end
end end
end end
end end
def wildcard(target) def wildcard(target)
rendsub = rand(10000).to_s rendsub = rand(10000).to_s
query = @res.query("#{rendsub}.#{target}", "A") query = @res.query("#{rendsub}.#{target}", "A")
@ -84,7 +83,7 @@ class Metasploit3 < Msf::Auxiliary
return false return false
end end
end end
def genrcd(target) def genrcd(target)
print_status("Retrieving general DNS records") print_status("Retrieving general DNS records")
query = @res.search(target) query = @res.search(target)
@ -166,7 +165,7 @@ class Metasploit3 < Msf::Auxiliary
end end
end end
end end
def tldexpnd(targetdom,nssrv) def tldexpnd(targetdom,nssrv)
target = targetdom.scan(/(\S*)[.]\w*\z/).join target = targetdom.scan(/(\S*)[.]\w*\z/).join
target.chomp! target.chomp!
@ -323,7 +322,7 @@ class Metasploit3 < Msf::Auxiliary
tl.delete_if { |t| not t.alive? } tl.delete_if { |t| not t.alive? }
end end
end end
# SRV Record Enumeration # SRV Record Enumeration
def srvqry(dom,nssrv) def srvqry(dom,nssrv)
print_status("Enumerating SRV records for #{dom}") print_status("Enumerating SRV records for #{dom}")