cravis error solve
parent
4bd40fed7f
commit
be829e77ba
|
@ -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 = {}
|
||||||
|
|
|
@ -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}")
|
||||||
|
|
Loading…
Reference in New Issue