lib/ryo.rb in ryo-0.2.0 vs lib/ryo.rb in ryo-0.3.0
- old
+ new
@@ -17,9 +17,11 @@
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