lib/wmap/dns_bruter.rb
# Parallel DNS brute-force all existing domains
Parallel DNS brute-force all existing domains
Parallel DNS brute - force all existing domains
def brute_all(num=@max_parallel)
		puts "Start the parallel brute-forcing all domains with maximum child processes: #{num}"
		begin
			hosts=Array.new
			my_dis=Wmap::HostTracker.instance
			my_dis.data_dir=@data_dir
			known_domains=my_dis.dump_root_domains
			hosts=dns_brute_domains(num, known_domains)
			my_dis.adds(hosts)
			my_dis.save!
			my_dis=nil
			hosts
		rescue Exception => ee
			puts "Exception on method #{__method__}: #{ee}" if @verbose
		end
	end
def brute_all ( num = @max_parallel ) puts "Start the parallel brute-forcing all domains with maximum child processes: #{num}" begin hosts = Array . new my_dis = Wmap :: HostTracker . instance my_dis . data_dir = @data_dir known_domains = my_dis . dump_root_domains hosts = dns_brute_domains ( num , known_domains ) my_dis . adds ( hosts ) my_dis . save! my_dis = nil hosts rescue Exception => ee puts "Exception on method #{__method__}: #{ee}" if @verbose end end
Parallel DNS brute-force all existing domains
Parallel DNS brute - force all existing domains
num
<not_specific>