Class: Ryo::CLI
- Inherits:
-
Thor
- Object
- Thor
- Ryo::CLI
- Defined in:
- lib/ryo/cli.rb
Instance Method Summary collapse
- #all(url) ⇒ Object
- #dir(url) ⇒ Object
- #discovery(url) ⇒ Object
- #dns(url) ⇒ Object
- #shodan(url) ⇒ Object
- #subdomain(url) ⇒ Object
- #tech(url) ⇒ Object
- #whois(url) ⇒ Object
Instance Method Details
#all(url) ⇒ Object
53 54 55 56 |
# File 'lib/ryo/cli.rb', line 53 def all(url) hash = run_discovery(url, all: true) puts hash.to_json end |
#dir(url) ⇒ Object
6 7 8 9 |
# File 'lib/ryo/cli.rb', line 6 def dir(url) hash = run_discovery(url, dir: true) puts hash.to_json end |
#discovery(url) ⇒ Object
47 48 49 50 |
# File 'lib/ryo/cli.rb', line 47 def discovery(url) hash = run_discovery(url, ) puts hash.to_json end |
#dns(url) ⇒ Object
12 13 14 15 |
# File 'lib/ryo/cli.rb', line 12 def dns(url) hash = run_discovery(url, dns: true) puts hash.to_json end |
#shodan(url) ⇒ Object
18 19 20 21 |
# File 'lib/ryo/cli.rb', line 18 def shodan(url) hash = run_discovery(url, shodan: true) puts hash.to_json end |
#subdomain(url) ⇒ Object
24 25 26 27 |
# File 'lib/ryo/cli.rb', line 24 def subdomain(url) hash = run_discovery(url, subdomain: true) puts hash.to_json end |
#tech(url) ⇒ Object
30 31 32 33 |
# File 'lib/ryo/cli.rb', line 30 def tech(url) hash = run_discovery(url, tech: true) puts hash.to_json end |
#whois(url) ⇒ Object
36 37 38 39 |
# File 'lib/ryo/cli.rb', line 36 def whois(url) hash = run_discovery(url, whois: true) puts hash.to_json end |