Sha256: 4b4367f5a52f03d79fc471d08b4af929164b5cd614eaae5f7b6071373d466146

Contents?: true

Size: 561 Bytes

Versions: 28

Compression:

Stored size: 561 Bytes

Contents

#!/usr/bin/env ruby
# script to automate the new site discovery through by crawling all unique sites in the site store
require "wmap"
require "parallel"

def wmap_worker(domain)
   cmd = "wmap " + domain
   puts "wmap discovery on domain: ", domain
   system(cmd)
end


tracker=Wmap::DomainTracker.instance
Parallel.map(tracker.known_internet_domains.keys, :in_processes => 10) { |target|
  puts "Working on #{target} ..." if @verbose
  wmap_worker(target)
}
=begin
tracker.known_internet_domains.keys.map do |domain|
  wmap_worker(domain)
end
=end
tracker=nil

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
wmap-2.8.1 bin/wmaps
wmap-2.7.9 bin/wmaps
wmap-2.7.7 bin/wmaps
wmap-2.7.6 bin/wmaps
wmap-2.7.2 bin/wmaps
wmap-2.7.1 bin/wmaps
wmap-2.7.0 bin/wmaps
wmap-2.6.9 bin/wmaps
wmap-2.6.8 bin/wmaps
wmap-2.6.7 bin/wmaps
wmap-2.6.6 bin/wmaps
wmap-2.6.5 bin/wmaps
wmap-2.6.4 bin/wmaps
wmap-2.6.3 bin/wmaps
wmap-2.6.2 bin/wmaps
wmap-2.6.1 bin/wmaps
wmap-2.6.0 bin/wmaps
wmap-2.5.9 bin/wmaps
wmap-2.5.8 bin/wmaps
wmap-2.5.7 bin/wmaps