Skip to content

Borrow unprotected API keys from lazy developers!

Notifications You must be signed in to change notification settings

Yiidiir/apik-thief

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apik-thief

A small script to automate finding unprotected API keys, supports Google Maps only for now.

Disclaimer: This script is provided "AS IS", without any warranties and should be used at your own risk.

Getting Started

git clone this repository

git clone https://github.com/Yiidiir/apik-thief.git && cd apik-thief

pip install requirements

pip install -r requirements.txt

Rename .env.example to .env and set SHODAN_API to your Shodan.io API Key

mv .env.example .env
SHODAN_API=myApiKeysfdgfhgjhkdfxg

Usage

usage: apik.py [-h] [-s {googleMaps}]

optional arguments:
  -h, --help            show this help message and exit
  -s {googleMaps}, --service {googleMaps}
                        Specify what service to look for

Example

python apik.py --service googleMaps

If any unprotected Google Maps API keys are spotted, you'll find them appended in maps_keys.txt

TODO:

  • Support more services
  • Add to PyPi

Licensed under the MIT License

About

Borrow unprotected API keys from lazy developers!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages