Skip to content

4. Generating API keys

Anirudh Anand edited this page May 1, 2018 · 1 revision

API keys are essential for the efficient working of the tool. Twitter, Shodan and Github API keys are a must for the scraper part of the RTA to work.

Twitter

  • Go to https://dev.twitter.com/apps/new and log in, if necessary
  • Enter your Application Name, Description and your website address. You can leave the callback URL empty.
  • Submit the form by clicking the Create your Twitter Application
  • Copy the consumer key (API key), consumer secret, Access token and Access Token Secret from the screen into your application

Shodan

  • Register an account in shodan.
  • Visit your registered email id and activate the account.
  • Login to your account and you will find the API keys under profile overview tab.
  • Copy the API key and this is the value for shodan api field in the config file.

Github

  • Go to profile > settings
  • Go to Developer settings > Personal access tokens
  • Click Generate new token and give your token a name.
  • Select the scopes, or permissions, you'd like to grant this token and click Generate token.
  • Copy the generated token into config file.
Clone this wiki locally