module Ryo

Constants

VERSION

Public Class Methods

discover(uri, options) click to toggle source
# File lib/ryo.rb, line 17
def self.discover(uri, options)
  target = Target.new(uri)

  h = {}
  h[:dir] = Plugin::Dir.discover(target.uri) if options[:dir] || options[:all]
  h[:dns] = Plugin::DNS.discover(target.domain) if options[:dns] || options[:all]
  h[:shodan] = Plugin::Shodan.discover(target.ip) if options[:shodan] || options[:all]
  h[:subdomain] = Plugin::Subdomain.discover(target.fld) if options[:subdomain] || options[:all]
  h[:tech] = Plugin::Tech.discover(target.uri) if options[:tech] || options[:all]
  h[:whois] = Plugin::Whois.discover(target.domain) if options[:whois] || options[:all]
  h
end