___ ___ _ ___ _
/ _ \___ / \___ _ __| | __ / _ \___ ___ __ _| | ___
/ /_\/ _ \ _____ / /\ / _ \| '__| |/ /____ / /_\/ _ \ / _ \ / _` | |/ _ \
/ /_\\ (_) |_____/ /_// (_) | | | <_____/ /_\\ (_) | (_) | (_| | | __/
\____/\___/ /___,' \___/|_| |_|\_\ \____/\___/ \___/ \__, |_|\___|
|___/
A powerful and flexible Google dorking tool written in Go for efficient subdomain discovery and information gathering
- 🔍 Advanced Google dorking capabilities
- 🌐 Multiple domain processing
- 🔄 Concurrent searching with customizable threads
- 📊 Multiple output formats (JSON, CSV, TXT)
- 🎯 Targeted subdomain discovery
- 🎨 Colorized output with verbosity controls
- ⚡ Fast and efficient processing
- 🔒 Rate limiting and error handling
- 🎮 User-friendly CLI interface
- Go 1.16 or higher
- Google Custom Search API key
- Google Custom Search Engine ID
go install -v github.com/Abhinandan-Khurana/go-dork-google@latest
# Clone the repository
git clone https://github.com/Abhinandan-Khurana/go-dork-google.git
# Change directory
cd go-dork-google
# Install dependencies
go mod tidy
# Build the binary
go build -o go-dork-google
Create a configuration file google_dorker.yaml
in one of the following locations:
- Current directory
~/.config/google_dorker.yaml
/etc/google_dorker.yaml
Google-API:
- "your-google-api-key-1"
- "your-google-api-key-2"
Google-CSE-ID:
- "your-custom-search-engine-id-1"
- "your-custom-search-engine-id-2"
# Basic usage
./go-dork-google -d example.com
# Subdomain discovery with JSON output
./go-dork-google -d example.com -subs -format json
# Multiple domain processing
./go-dork-google -d example.com sub1.example.com sub2.example.com -subs
# Custom query with specific output file
./go-dork-google -d example.com -q "password" -o results.csv -format csv
# Silent mode with high concurrency
./go-dork-google -d example.com -silent -concurrent 20
Options:
-q string
Google dorking query for your target
-d string
Target name for Google dorking
-o string
File name to save the dorking results
-format string
Output format (txt, json, csv) (default "txt")
-subs
Only output found subdomains
-concurrent int
Number of concurrent searches (default 10)
-v int
Verbosity level (0=ERROR, 1=INFO, 2=DEBUG, 3=TRACE) (default 1)
-version
Show version information
-no-color
Disable color output
-silent
Silent mode - only output results
-timeout duration
Timeout for the entire search operation (default 5m)
{
"example.com": [
"api.example.com",
"blog.example.com",
"dev.example.com",
"mail.example.com",
"www.example.com"
]
}
Domain,Subdomain
example.com,api.example.com
example.com,blog.example.com
example.com,dev.example.com
example.com,mail.example.com
example.com,www.example.com
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Google Custom Search API
- The Go Community
- All contributors and users of this tool
Abhinandan Khurana - @L0u51f3r007
Project Link: https://github.com/Abhinandan-Khurana/go-dork-google
Made with ❤️ by Abhinandan Khurana