class Socialinvestigator::CLI::Net

Public Instance Methods

get_apps_json() click to toggle source
# 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 ) click to toggle source
# File lib/socialinvestigator/cli/net.rb, line 16
def page_info( url )
  knowledge = client.get_knowledge( url, options[:noreverse], options[:debug] )
  knowledge.print
end

Private Instance Methods

client() click to toggle source
# File lib/socialinvestigator/cli/net.rb, line 31
def client
  @client ||= Socialinvestigator::Client::NetClient.new
end