Class: Socialinvestigator::CLI::Net
- Inherits:
-
Thor
- Object
- Thor
- Socialinvestigator::CLI::Net
- Defined in:
- lib/socialinvestigator/cli/net.rb
Instance Method Summary collapse
Instance Method Details
#get_apps_json ⇒ Object
22 23 24 25 26 27 |
# File 'lib/socialinvestigator/cli/net.rb', line 22 def get_apps_json puts "Loading from https://raw.githubusercontent.com/ElbertF/Wappalyzer/master/share/apps.json" json_data = HTTParty.get "https://raw.githubusercontent.com/ElbertF/Wappalyzer/master/share/apps.json" Socialinvestigator::Config.config.apps_json= json_data puts "Saved" end |
#page_info(url) ⇒ Object
16 17 18 19 |
# File 'lib/socialinvestigator/cli/net.rb', line 16 def page_info( url ) knowledge = client.get_knowledge( url, [:noreverse], [:debug] ) knowledge.print end |