Go-Dork – The Fastest Dork Scanner Written In Go
The quickest dork scanner written in Go.
There are also many search engines supported by go-dork, such as Google, Shodan, Bing, Duck, Yahoo and Request.
Put in
- Download a prebuilt binary from releases web site, unpack and run! or
- If you have go compiler put in and configured:
> GO111MODULE=on go get -v github.com/dwisiswant0/go-dork/...
Utilization
Essential Use
Basically, go-dork can be operate with:
> go-dork -q "inurl:'...'"
Flags
> go-dork -h
This will screen assistance for the software. Below are all the switches it supports.
Flag | Description |
---|---|
-q/–question | Look for query (necessary) |
-e/–engine | Provide search motor (default: Google) |
(choices: Google, Shodan, Bing, Duck, Yahoo, Ask) | |
-p/–webpage | Specify amount of web pages (default: 1) |
-H/–header | Go customized header to lookup motor |
-x/–proxy | Use proxy to surfing |
-s/–silent | Silent method, prints only effects in output |
-nc/–no-color | Disable coloured output effects |
Querying
> go-dork -q "inurl:..."
Queries can also be enter with stdin
> cat dorks.txt | go-dork -p 5
Defining motor
Look for engine can be altered from the available engines: Google, Shodan, Bing, Duck, Yahoo, Request. Nonetheless, if the -e
flag is not defined, it will use the Google search engine by default.
> go-dork -e bing -q ".php?id="
This will do a look for by the Bing engine.
Pagination
By default, go-dork selects the first page, you can customise utilizing the -p
flag.
> go-dork -q "intext:'jira'" -p 5
It will look for sequentially from web pages 1 to 5.
Incorporating Headers
It’s possible you want to use a look for filter on the Shodan engine, you can use custom headers to incorporate cookies or other header pieces.
> go-dork -q "org:'Target' http.favicon.hash:116323821"
--motor shodan -H "Cookie: ..." -H "Consumer-Agent: ..."
Using Proxy
Using a proxy, this can also be practical if Google or other engines meet up with Captcha.
> go-dork -q "intitle:'BigIP'" -p 2 -x http://127...1:8989
Chained with other instruments
If you want to chain the go-dork
success with a further software, use the -s
flag.
> go-dork -q "inurl:'/secure' intext:'jira' internet site:org" -s | nuclei -t workflows/jira-exploitaiton-workflow.yaml
Support & Bugs
If you are still puzzled or observed a bug, be sure to open up the situation. All bug experiences are appreciated, some characteristics have not been analyzed yet due to absence of totally free time.
TODOs
- Fixes Yahoo regexes
- Fixes Google regexes if employing personalized User-Agent
- Halting if you will find no final results & web page flag was set
- DuckDuckGo upcoming page