{"id":13454359,"url":"https://github.com/sensepost/goDoH","last_synced_at":"2025-03-24T05:33:40.206Z","repository":{"id":40601854,"uuid":"154281628","full_name":"sensepost/godoh","owner":"sensepost","description":"🕳 godoh - A DNS-over-HTTPS C2","archived":false,"fork":false,"pushed_at":"2023-12-19T07:21:45.000Z","size":134,"stargazers_count":735,"open_issues_count":3,"forks_count":120,"subscribers_count":31,"default_branch":"master","last_synced_at":"2024-05-02T05:05:58.561Z","etag":null,"topics":["c2","command-and-control","dns","dns-over-https","doh","golang"],"latest_commit_sha":null,"homepage":"https://sensepost.com/blog/2018/waiting-for-godoh/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sensepost.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-10-23T07:24:04.000Z","updated_at":"2024-04-28T02:52:28.000Z","dependencies_parsed_at":"2023-11-07T08:28:59.203Z","dependency_job_id":"243b4d9f-3287-432f-ae1e-d41d0017b662","html_url":"https://github.com/sensepost/godoh","commit_stats":{"total_commits":32,"total_committers":2,"mean_commits":16.0,"dds":0.03125,"last_synced_commit":"c6ba09f94f53a9a481e5fd189058eed07e83d924"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensepost%2Fgodoh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensepost%2Fgodoh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensepost%2Fgodoh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensepost%2Fgodoh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sensepost","download_url":"https://codeload.github.com/sensepost/godoh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245217428,"owners_count":20579291,"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":["c2","command-and-control","dns","dns-over-https","doh","golang"],"created_at":"2024-07-31T08:00:53.385Z","updated_at":"2025-03-24T05:33:39.861Z","avatar_url":"https://github.com/sensepost.png","language":"Go","funding_links":[],"categories":["Command and Control","Tools"],"sub_categories":["Open Source"],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://github.com/sensepost/goDoH\"\u003e\n    🕳 godoh\n  \u003c/a\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eA DNS-over-HTTPS Command \u0026 Control Proof of Concept\u003c/h4\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://twitter.com/leonjza\"\u003e\u003cimg src=\"https://img.shields.io/badge/Twitter-%40leonjza-blue.svg\" alt=\"@leonjza\" height=\"18\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://goreportcard.com/report/github.com/sensepost/goDoH\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/sensepost/goDoH\" alt=\"Go Report Card\" height=\"18\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\n## introduction\n\n`godoh` is a proof of concept Command and Control framework, written in Golang, that uses DNS-over-HTTPS as a transport medium. Currently supported providers include Google, Cloudflare but also contains the ability to use traditional DNS.\n\n## installation\n\nAll you would need are the `godoh` binaries themselves. Binaries are available for download from the [releases](https://github.com/sensepost/goDoH/releases) page as part of tagged releases.\n\nTo build `godoh` from source, follow the following steps:\n\n* Ensure you have Go 1.13+\n* Clone this repository with `git clone https://github.com/sensepost/goDoH.git`\n* Run `make key` to generate a unique encryption key to use for communication\n* Build the project with one of the following options:\n  * `go build` which will drop you a new `godoh` binary for the current architecture\n  * `make` which will drop binaries in the `build/` directory for various platforms\n\n## usage\n\n```txt\nA DNS (over-HTTPS) C2\n  By @leonjza from @sensepost\n\nUsage:\n  godoh [flags]\n  godoh [command]\n\nAvailable Commands:\n  agent       Connect as an Agent to the DoH C2\n  c2          Starts the godoh C2 server\n  help        Help about any command\n  receive     Receive a file via DoH\n  send        Send a file via DoH\n  test        Test DNS communications\n\nFlags:\n  -d, --domain string          DNS Domain to use. (ie: example.com)\n  -h, --help                   help for godoh\n  -p, --provider string        Preferred DNS provider to use. [possible: googlefront, google, cloudflare, quad9, raw] (default \"google\")\n  -K, --validate-certificate   Validate DoH provider SSL certificates\n\nUse \"godoh [command] --help\" for more information about a command.\n```\n\n## license\n\n`godoh` is licensed under a [GNU General Public v3 License](https://www.gnu.org/licenses/gpl-3.0.en.html). Permissions beyond the scope of this license may be available at http://sensepost.com/contact/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensepost%2FgoDoH","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsensepost%2FgoDoH","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensepost%2FgoDoH/lists"}