This repository has been archived by the owner on Jan 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 235
Obtaining The API Keys
Utku Sen edited this page Apr 26, 2017
·
1 revision
Leviathan requires API keys from few services to work. Google Custom Search API is needed for retrieving URLs from Google to detect SQL Injection vulnerabilities. Censys and Shodan APIs are needed for retrieving IP addresses according to given queries.
Two things needs to be generated: Google API Key, Custom Search Engine id
- Navitage to “Credentials page” in API console: https://console.developers.google.com/apis/credentials
- Click Create credentials > API key (If you don’t have any previous project, create a project first. After than you will be able to generate API key.)
- Copy your API key to your local disk
- Navigate to https://cse.google.com/cse/ and click “Create a Custom Search Engine”
- In “Sites to search” section, just put www.anyurl.com to skip this screen. We will remove it later.
- Enter a name for the search engine on “Name of the search engine” box.
- Click to “Create” button
- Click “Control Panel” button which is located in the same line with “Modify your search engine” label.
- In the “Basic” tab, find “Sites to search” section. Select “Search the entire web but emphasize included sites.” on dropdown list. Also, mark the checkbox on “www.anyurl.com” and click “Delete” button.
- Click “Update” button on the bottom of the page.
- Find “Details” label under the “Basics” tab. Click to “Search engine ID” button.
- Copy your search engine ID to your local disk
- Register an account at https://censys.io/register
- After login, navigate to https://censys.io/account
- Copy API ID, Secret to your local disk.
- Register an account at https://account.shodan.io/register
- After login navigate to https://account.shodan.io/
- Copy your API key to your local disk
Note: Shodan’s free api key won’t give too much flexibility to you. You should buy at least “Freelancer” package from here if you want to use Shodan smoothly: https://developer.shodan.io/pricing