A powerful and simple CLI tool to perform dork-based searches using Google and DuckDuckGo search engines. Perfect for reconnaissance, OSINT investigations, and bug bounty hunting!
- β
Google search support via
googlesearch-python - β
DuckDuckGo support via
duckduckgo-search - β Save all results to a file
- β Colored, formatted terminal output
- β Counts unique results
- β
Optional search engine selection (
--google,--duck) - β Simple usage for beginners and pros
π Requires Python 3.6+
git clone https://github.com/yourusername/dorkhunter.git
cd dorkhunterpip install -r requirements.txtIf you donβt have requirements.txt, just install manually:
pip install googlesearch-python duckduckgo-searchpython3 dorkHunter.py -q "<your dork>" [options]| Flag | Description |
|---|---|
-q, --query |
The dork/search string to query |
-l, --limit |
Number of results per engine (default: 10) |
-o, --output |
Save results to a file (e.g., results.txt) |
--google |
Use only Google for search |
--duck |
Use only DuckDuckGo for search |
Note: If no engine is specified, both are used by default.
Search for directory listings:
python3 dorkHunter.py -q 'intitle:"index of" "admin"' -l 20Search using only DuckDuckGo:
python3 dorkHunter.py -q 'site:.gov confidential' --duckSave output to a file:
python3 dorkHunter.py -q 'inurl:login.php' -o logins.txt- Results are displayed with color-coded indexing.
- If
-ois used, results are saved in plain.txtformat. - Duplicate URLs are automatically removed before saving.
Install them with:
pip install googlesearch-python duckduckgo-searchDorkHunter is intended for educational and ethical purposes only.
Misusing this tool for unauthorized access or illegal activity is strictly prohibited. The developer is not responsible for any misuse or damage caused by this script.
- Built by AIwolfie
- Inspired by the need for a quick CLI dork searcher for bug bounty and OSINT work.