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 dorkhunter
pip install -r requirements.txt
If you donβt have requirements.txt
, just install manually:
pip install googlesearch-python duckduckgo-search
python3 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 20
Search using only DuckDuckGo:
python3 dorkHunter.py -q 'site:.gov confidential' --duck
Save output to a file:
python3 dorkHunter.py -q 'inurl:login.php' -o logins.txt
- Results are displayed with color-coded indexing.
- If
-o
is used, results are saved in plain.txt
format. - Duplicate URLs are automatically removed before saving.
Install them with:
pip install googlesearch-python duckduckgo-search
DorkHunter 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.