A Python tool for automated dorking using GitHub, SerpAPI, and RapidAPI.
git clone https://github.com/Jazeye/AutoDork.git
cd AutoDork
To keep dependencies isolated, it's recommended to use a virtual environment:
python3 -m venv venv
source venv/bin/activate
Ensure pip is installed on your machine. Install the necessary packages:
sudo apt update
sudo apt install python3-pip
pip install requests argparse
- Go to GitHub and log in.
- Navigate to Settings > Developer settings > Personal access tokens.
- Click Generate new token and select the following permissions:
reporead:orgread:userpublic_repo
- Copy and save your token.
- Sign up at SerpAPI.
- Find your API key in the Dashboard under API Key.
- Copy and save your key.
- Sign up at RapidAPI.
- On the API Marketplace, find the API Subdomain Scan .
- Locate your API key on the API's Endpoints or Pricing page.
- See the API key in the left sidebar. Also, don't forget to purchase the API if required.
Edit the script to add your API keys:
RAPIDAPI_KEY = "your_actual_RAPIDAPI_key"
GITHUB_API_KEY = "your_actual_github_api_key"
SERPAPI_KEY = "your_actual_serpapi_key"After setting up the API keys and installing the required modules, run the script:
python3 autodork.py
example : python3 autodork.py --domain example.com --google-dork "site:example.com inurl:admin" --github-dork "password filename:.env domain:example.com"
- API Rate Limits: Keep track of rate limits for each API to avoid being blocked.
- Sensitive Information: Do not share API keys publicly. Store them in environment variables or use secret management tools for better security.
- Error Handling: Consider adding error handling to manage API errors or rate limits effectively