demos/bruter.rb in wmap-2.4.6 vs demos/bruter.rb in wmap-2.4.8

- old
+ new

@@ -2,10 +2,10 @@ # Usage: ruby dns_brute.rb [file with list of domains] require "wmap" f_rpt=".rpt.txt" # Step 1 - obtain list of domains to be brute-forced on -host_tracker=Wmap::HostTracker.new +host_tracker=Wmap::HostTracker.instance root_domains=host_tracker.dump_root_domains sub_domains=host_tracker.instance.dump_sub_domains # Step 2 - multi-thread brute forcer works on known domains and sub-domains k=Wmap::DnsBruter.new(:verbose=>true, :max_parallel=>50) #hosts=k.dns_brute_file(ARGV[0])