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.
- Create the desired directory on the sytem you will install Meta-Detector on.
- From the command line within that directory:
git clone https://github.com/stolenusername/Meta-Detector/
. cd Meta-Detector
go build meta-detector.go
(This step requires that you have Go installed on the system).
- The program reads search parameters and descriptions from the
search.config
file. - It generates Google search URLs for the given domain based on the search parameters.
- The URLs are embedded in an HTML page, which is then written to a 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
.
To update the search.config
file:
- Open the
search.config
file in a text editor. - Add or modify the search parameters following the specified format (
<search_parameter> | <Description>
). - Save the changes to the
search.config
file. - 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 ofsearch.config
.
- Ensure that the
search.config
file is correctly configured with the desired search parameters. - Run the program with the domain as an argument:
./meta-detector domain.com
- The program will generate an HTML file named
<domain>_search_results.html
containing the Google Dork search results for the specified domain. - Each link in the HTML file opens the Google search results in a new tab.
- There is a button at the bottom of the links to open all the links in new tabs at once.
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
.
When using Meta-Detector tool, there are a few things to keep in mind:
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.
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.
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 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
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 spiderMeta-Spider is still in it's early stages and you may encounter issues. I'll address these as they are encountered.