{"id":22619583,"url":"https://github.com/davemolk/dorking","last_synced_at":"2025-07-14T16:33:34.219Z","repository":{"id":64973574,"uuid":"569517821","full_name":"davemolk/dorking","owner":"davemolk","description":"advanced searching for bing, brave, duck duck go, and yahoo","archived":false,"fork":false,"pushed_at":"2023-01-15T13:10:56.000Z","size":2250,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T01:41:25.482Z","etag":null,"topics":["bug-bounty","bugbounty","dorking","go","golang","infosec","osint","pentesting","pentesting-tools","recon","research","search","search-engine","security"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davemolk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-23T02:15:09.000Z","updated_at":"2025-02-18T19:04:22.000Z","dependencies_parsed_at":"2023-02-09T22:16:06.696Z","dependency_job_id":null,"html_url":"https://github.com/davemolk/dorking","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/davemolk/dorking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemolk%2Fdorking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemolk%2Fdorking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemolk%2Fdorking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemolk%2Fdorking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davemolk","download_url":"https://codeload.github.com/davemolk/dorking/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemolk%2Fdorking/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265319397,"owners_count":23746337,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bug-bounty","bugbounty","dorking","go","golang","infosec","osint","pentesting","pentesting-tools","recon","research","search","search-engine","security"],"created_at":"2024-12-08T22:06:30.710Z","updated_at":"2025-07-14T16:33:34.177Z","avatar_url":"https://github.com/davemolk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dorking\n\nadvanced searching with bing, brave, duck duck go, and yahoo\n\n## Overview\nGoogle dorking is great, but Google's recaptchas etc are less great. Use dorking to search bing, brave, duck duck go, and yahoo instead, all off a single advanced search query. By default, dorking prints the results (url and blurb) to stdout, but you can change to a json output with a flag and/or save the results to a file. \n\nI plan to keep adding query features if/when I have time, so stay tuned.\n\n## Examples\n```\ndorking -filetype pdf -q goroutines -j\n(json results truncated for space reasons)\n{\n    \"http://mesl.ucsd.edu/pubs/zhou_SIGBED16.pdf\": \"Go language’s concurrency is enabled through goroutines and invoked with keyword go. A user creates a goroutine and associates it with a program using go func(arg). After creation, go runtime scheduler automatically allocates gor-outines to run on OS threads.\",\n    \"http://www.cs.uky.edu/~raphael/grad/keepingCurrent/roberts-concurrency.pdf\": \"Goroutines Goroutines enable concurrency Like threads, but lighter Spawn one by prefixing a function call with the go keyword Similar to backgrounding a process in Linux Scheduled onto OS threads by the Go runtime Goroutines share an address space, but sharing data structures is not idiomatic.\",\n    \"http://www1.cs.columbia.edu/~aho/cs6998/reports/12-12-11_DeshpandeSponslerWeiss_GO.pdf\": \"scheduling goroutines onto threads e ectively is crucial for the e cient performance of Go programs. The idea behind goroutines is that they are capable of running concurrently, like threads, but are also extremely lightweight in compar-ison. So, while there might be multiple threads created ...\",\n    \"https://arxiv.org/pdf/2204.00764.pdf\": \"Goroutines are considered “lightweight”, and the Go runtime context switches them on the operating-system (OS) threads. Go programmers use goroutines liberally both for symmetric and asymmetric tasks. Two or more goroutines can commu-nicate data via message passing (channels [13]) or shared ...\"\n}\n```\n\n## Install\nFirst, you'll need to [install go](https://golang.org/doc/install). Then, run the following command:\n\n```\ngo install github.com/davemolk/dorking/cmd/dorking@latest\n```\n\n# Additional Notes\n* Some of the operators work better than others. \n\n* Command-line operators are translated as needed to each particular search engine. For instance, while bing reads *inurl* as *inurl*, dorking translates it to *inanchor* for duck duck go.\n\n* Brave doesn't publish advanced query info (at least that I found), so what's there is from me poking around.\n\n* Bing's reported operators can be unreliable (ext, hasfeed, ip, and info don't seem to work, so I've excluded them).\n\n* While Yahoo has a special query system (v*_vt, for instance), just using p seems to work, so I stuck with that.\n\n* Avoiding bot detection...each request gets a randomly assigned user agent corresponding to your os as well as appropriate headers (50/50 chance of chrome or firefox). That being said, Go unfortunately doesn't preserve header order, so if that's important to you, you're going to have to look elsewhere.\n\n\n## Flags\nI decided to keep these as close to what you'd enter into a search bar as possible.\n```\nUsage of dorking:\n  -contains string\n    \treturn sites with links to specified file types\n  -exact bool\n    \tmatch exact words\n  -feed string\n    \treturn RSS or Atom feeds for search term(s)\n  -filetype string\n    \tfiletypes\n  -inbody string\n    \treturn sites with search term(s) in body\n  -intitle string\n    \treturn sites with search term(s) in title\n  -inurl string\n    \treturn sites with search term(s) in url\n  -j bool\n    \tprint json results to stdout\n  -nostite string\n    \tsite/domain to exclude\n  -or string\n    \tOR term(s)\n  -os string\n    \toperating system (used in user agent and header creation)\n  -q string\n    \tsearch query\n  -site string\n    \tsite/domain to search\n  -t int\n    \ttimeout for request (in ms)\n  -v bool\n    \tverbose mode\n  -w bool\n    \twrite results to file\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavemolk%2Fdorking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavemolk%2Fdorking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavemolk%2Fdorking/lists"}