Module: Ryo
- Defined in:
- lib/ryo.rb,
lib/ryo/cli.rb,
lib/ryo/error.rb,
lib/ryo/client.rb,
lib/ryo/target.rb,
lib/ryo/version.rb,
lib/ryo/plugin/dir.rb,
lib/ryo/plugin/dns.rb,
lib/ryo/plugin/tech.rb,
lib/ryo/plugin/whois.rb,
lib/ryo/plugin/shodan.rb,
lib/ryo/plugin/subdomain.rb,
lib/ryo/plugin/subdomain/base.rb,
lib/ryo/plugin/subdomain/dnsdumpster.rb,
lib/ryo/plugin/subdomain/find_subdomains.rb
Defined Under Namespace
Modules: Plugin Classes: CLI, Client, InvalidOptionsError, InvalidURLError, NotFoundError, Target
Constant Summary collapse
- VERSION =
"0.3.2"
Class Method Summary collapse
Class Method Details
.discover(uri, options) ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/ryo.rb', line 17 def self.discover(uri, ) target = Target.new(uri) h = {} h[:dir] = Plugin::Dir.discover(target.uri) if [:dir] || [:all] h[:dns] = Plugin::DNS.discover(target.domain) if [:dns] || [:all] h[:shodan] = Plugin::Shodan.discover(target.ip) if [:shodan] || [:all] h[:subdomain] = Plugin::Subdomain.discover(target.fld) if [:subdomain] || [:all] h[:tech] = Plugin::Tech.discover(target.uri) if [:tech] || [:all] h[:whois] = Plugin::Whois.discover(target.domain) if [:whois] || [:all] h end |