Sha256: 854c9f59a3c70fe2af65798f12fd8ebd08c44fb9cbf83d18b7e42faca006c987

Contents?: true

Size: 439 Bytes

Versions: 5

Compression:

Stored size: 439 Bytes

Contents

# frozen_string_literal: true

require_relative "subdomain/base"
require_relative "subdomain/dnsdumpster"
require_relative "subdomain/find_subdomains"

module Ryo
  module Plugin
    module Subdomain
      def self.discover(fld)
        subdomains = []
        subdomains << DNSDumpster.discover(fld)
        subdomains << FindSubDomains.discover(fld)
        subdomains.flatten.uniq.sort_by { |e| e[:domain] }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ryo-0.3.2 lib/ryo/plugin/subdomain.rb
ryo-0.3.1 lib/ryo/plugin/subdomain.rb
ryo-0.3.0 lib/ryo/plugin/subdomain.rb
ryo-0.2.0 lib/ryo/plugin/subdomain.rb
ryo-0.1.0 lib/ryo/plugin/subdomain.rb