Method: Aquatone::Collectors::Dictionary#run

Defined in:
lib/aquatone/collectors/dictionary.rb

#runObject



12
13
14
15
16
17
# File 'lib/aquatone/collectors/dictionary.rb', line 12

def run
  dictionary = File.open(DICTIONARY, "r")
  dictionary.each_line do |subdomain|
    add_host("#{subdomain.strip}.#{domain.name}")
  end
end