Skip to content

A powerful and flexible Google dorking tool written in Go for efficient subdomain discovery and information gathering

License

Notifications You must be signed in to change notification settings

Abhinandan-Khurana/go-dork-google

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-dork-google

   ___              ___           _           ___                  _
  / _ \___         /   \___  _ __| | __      / _ \___   ___   __ _| | ___
 / /_\/ _ \ _____ / /\ / _ \| '__| |/ /____ / /_\/ _ \ / _ \ / _` | |/ _ \
/ /_\\ (_) |_____/ /_// (_) | |  |   <_____/ /_\\ (_) | (_) | (_| | |  __/
\____/\___/     /___,' \___/|_|  |_|\_\    \____/\___/ \___/ \__, |_|\___|
                                                             |___/

A powerful and flexible Google dorking tool written in Go for efficient subdomain discovery and information gathering

🚀 Features

  • 🔍 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

📋 Prerequisites

  • Go 1.16 or higher
  • Google Custom Search API key
  • Google Custom Search Engine ID

🛠️ Direct Installation

go install -v github.com/Abhinandan-Khurana/go-dork-google@latest

🛠️ Installation

# 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

⚙️ Configuration

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"

🎯 Usage

# 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

🎪 Command Line Options

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 Output

JSON Format

{
  "example.com": [
    "api.example.com",
    "blog.example.com",
    "dev.example.com",
    "mail.example.com",
    "www.example.com"
  ]
}

CSV Format

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

🤝 Contributing

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.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

  • Google Custom Search API
  • The Go Community
  • All contributors and users of this tool

📞 Contact

Abhinandan Khurana - @L0u51f3r007

Project Link: https://github.com/Abhinandan-Khurana/go-dork-google


Made with ❤️ by Abhinandan Khurana