Skip to content

The following code when compiled in go takes a domain name as an argument and outputs an HTML file with Google Search links for various document types. Each link opens the results in a new tab

License

Notifications You must be signed in to change notification settings

stolenusername/Meta-Detector

Repository files navigation

Meta-Detector

Meta Detector

License: MIT made-with-Go

This program generates an HTML file containing Google Dork search queries based on the parameters specified in the search.config file. It allows users to easily perform Google Dork searches for various purposes, such as finding specific file types, directories, login pages, and sensitive information.

Downloading

  1. Create the desired directory on the sytem you will install Meta-Detector on.
  2. From the command line within that directory: git clone https://github.com/stolenusername/Meta-Detector/.
  3. cd Meta-Detector
  4. go build meta-detector.go (This step requires that you have Go installed on the system).

How It Works

  1. The program reads search parameters and descriptions from the search.config file.
  2. It generates Google search URLs for the given domain based on the search parameters.
  3. The URLs are embedded in an HTML page, which is then written to a file.

search.config File

The search.config file contains a list of search parameters and their descriptions. Each line in the file follows the format:

  • <search_parameter>: Specifies the Google Dork search parameter.
  • <Description>: Provides a brief description of what the search parameter targets.

The search parameters can include operators such as site:, filetype:, inurl:, intitle:, intext:, and logical operators like OR.

Updating search.config

To update the search.config file:

  1. Open the search.config file in a text editor.
  2. Add or modify the search parameters following the specified format (<search_parameter> | <Description>).
  3. Save the changes to the search.config file.
  4. The search.config file is frequently updated in this repo and you can download the latest version by running ./meta-detector --download. Keep in mind this will overwrite any changes you have made to your local copy of search.config.

Usage

  1. Ensure that the search.config file is correctly configured with the desired search parameters.
  2. Run the program with the domain as an argument: ./meta-detector domain.com
  3. The program will generate an HTML file named <domain>_search_results.html containing the Google Dork search results for the specified domain.
  4. Each link in the HTML file opens the Google search results in a new tab.
  5. There is a button at the bottom of the links to open all the links in new tabs at once.

Example Output

For example, if the domain is domain.com, the program will generate an HTML file named domain.com_search_results.html containing the Google Dork search results for domain.com.

Troubleshooting

When using Meta-Detector tool, there are a few things to keep in mind:

Pop-up Blocker:

Your browser's pop-up blocker might prevent the links from opening in new tabs. You may need to disable it or allow pop-ups for the current page to ensure that all links open successfully. You can usually find this trigged on the main results page. A good indication that this is happening is only one tab opens and no additional tabs are opening.

"Prove You Are Not a Robot" Prompt:

Due to the nature of how Google throttles Google Dork searches, you may encounter the "Prove You Are Not a Robot" prompt, especially if you're performing a large number of searches in a short period. If you encounter this prompt, you'll need to complete the CAPTCHA verification to continue.

Adjusting Delay:

In the code, there's a delay set before each link is opened in a new tab. If you find that you are getting throttled by Google, you can adjust this delay. To do so, locate the following line in the code: var delay = 1000; // 1 second delay

Meta-Spider

Meta-Spider is an addon program for Meta-Detector that crawls a given domain name and searches for items specified in the spider.config file. When an item is found, it is logged to a text file called domain.com-crawl.txt.

You can compile meta-spider.go with the following command:

go build meta-spider.go

Running Meta-Spider

Meta-Spider requires the following options:

Options:

  • -concurrency int
    Concurrency level (default 10)

  • -config string
    Spider configuration file (default "spider.config")

  • -depth int
    Depth to spider (default 1)

  • -domain string
    Domain to spider

    Meta-Spider is still in it's early stages and you may encounter issues. I'll address these as they are encountered.

About

The following code when compiled in go takes a domain name as an argument and outputs an HTML file with Google Search links for various document types. Each link opens the results in a new tab

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages