Go Dork

The fastest dork scanner written in Go.
Alternatives To Go Dork
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Clusterfuzz5,016
5 hours ago40April 21, 2022240apache-2.0Python
Scalable fuzzing infrastructure.
Google Ctf3,149
6 months ago1apache-2.0Go
Google CTF
Gdown2,979261802 months ago72June 26, 20229mitPython
Download a large file from Google Drive (curl/wget fails because of the security notice).
Badssl.com2,423
7 months ago193apache-2.0HTML
:lock: Memorable site for testing clients against bad SSL configs.
Security Research1,798
a day ago7apache-2.0Go
This project hosts security advisories and their accompanying proof-of-concepts related to research conducted at Google which impact non-Google owned code.
Awesome Federated Machine Learning973
4 days ago2
Everything about federated learning, including research papers, books, codes, tutorials, videos and beyond
Go Dork677
9 months ago4April 03, 20214mitGo
The fastest dork scanner written in Go.
Awesome Zero Trust585
a year ago1
A curated collection of awesome resources for the zero-trust security model.
Google Dorks578
12 days ago
Useful Google Dorks for WebSecurity and Bug Bounty
Safebrowsing43029162 days agoMay 27, 202118apache-2.0Go
Safe Browsing API Go Client
Alternatives To Go Dork
Select To Compare


Alternative Project Comparisons
Readme

go-dork

License contributions welcome

The fastest dork scanner written in Go.

There are also various search engines supported by go-dork, including Google, Shodan, Bing, Duck, Yahoo and Ask.

Install

  • Download a prebuilt binary from releases page, unpack and run! or
  • If you have Go 1.15+ compiler installed and configured:
> GO111MODULE=on go install dw1.io/[email protected]

Usage

Basic Usage

It's fairly simple, go-dork can be run with:

> go-dork -q "inurl:'...'"

Flags

> go-dork -h

This will display help for the tool. Here are all the switches it supports.

Flag Description
-q/--query Search query (required)
-e/--engine Provide search engine (default: Google)
(options: Google, Shodan, Bing, Duck, Yahoo, Ask)
-p/--page Specify number of pages (default: 1)
-H/--header Pass custom header to search engine
-x/--proxy Use proxy to surfing
-s/--silent Silent mode, prints only results in output

Querying

> go-dork -q "inurl:..."

Queries can also be input with stdin

> cat dorks.txt | go-dork -p 5

Defining engine

Search engine can be changed from the available engines: Google, Shodan, Bing, Duck, Yahoo, Ask. However, 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 search by the Bing engine.

Pagination

By default, go-dork scrapes the first page, you can customize using the -p flag.

> go-dork -q "intext:'jira'" -p 5

It will search sequentially from pages 1 to 5.

Adding custom headers

Maybe you want to use a search filter on the Shodan engine, you can use custom headers to add cookies or other header parts.

> go-dork -q "org:'Target' http.favicon.hash:116323821" \
  --engine shodan -H "Cookie: ..." -H "User-Agent: ..."

Using proxy

Using a proxy, this can also be useful if Google or other engines meet Captcha.

> go-dork -q "intitle:'BigIP'" -p 2 -x http://127.0.0.1:8989

Chained with other tools

If you want to chain the go-dork results with another tool, use the -s flag.

> cat dorks.txt | go-dork | pwntools
> go-dork -q "inurl:'/secure' intext:'jira' site:org" -s | nuclei -t workflows/jira-exploitaiton-workflow.yaml

Supporting Materials

Help & Bugs

If you are still confused or found a bug, please open the issue. All bug reports are appreciated, some features have not been tested yet due to lack of free time.

TODOs

  • [ ] Fixes Yahoo regexes
  • [ ] Fixes Google regexes if using custom User-Agent
  • [x] Stopping if there's no results & page flag was set
  • [ ] DuckDuckGo next page

License

MIT. See LICENSE for more details.

Popular Google Projects
Popular Security Projects
Popular Companies Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Golang
Google
Security
Search
Proxy
Crawler
Information Security
Bing
Vulnerability Scanner
Shodan