GitPedia

Godoh

๐Ÿ•ณ godoh - A DNS-over-HTTPS C2

From sensepostยทUpdated June 15, 2026ยทView on GitHubยท

**godoh** is a ๐Ÿ•ณ godoh - A DNS-over-HTTPS C2 The project is written primarily in Go, distributed under the GNU General Public License v3.0 license, first published in 2018. Key topics include: c2, command-and-control, dns, dns-over-https, doh.

Latest release: 1.6โ€” 1.6 (ffa558d)
October 23, 2019View Changelog โ†’
<h1 align="center"> <br> <a href="https://github.com/sensepost/goDoH"> ๐Ÿ•ณ godoh </a> <br> <br> </h1> <h4 align="center">A DNS-over-HTTPS Command & Control Proof of Concept</h4> <p align="center"> <a href="https://twitter.com/leonjza"><img src="https://img.shields.io/badge/Twitter-%40leonjza-blue.svg" alt="@leonjza" height="18"></a> <a href="https://goreportcard.com/report/github.com/sensepost/goDoH"><img src="https://goreportcard.com/badge/github.com/sensepost/goDoH" alt="Go Report Card" height="18"></a> </p> <br>

introduction

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.

installation

All you would need are the godoh binaries themselves. Binaries are available for download from the releases page as part of tagged releases.

To build godoh from source, follow the following steps:

  • Ensure you have Go 1.13+
  • Clone this repository with git clone https://github.com/sensepost/goDoH.git
  • Run make key to generate a unique encryption key to use for communication
  • Build the project with one of the following options:
    • go build which will drop you a new godoh binary for the current architecture
    • make which will drop binaries in the build/ directory for various platforms

usage

txt
A DNS (over-HTTPS) C2 By @leonjza from @sensepost Usage: godoh [flags] godoh [command] Available Commands: agent Connect as an Agent to the DoH C2 c2 Starts the godoh C2 server help Help about any command receive Receive a file via DoH send Send a file via DoH test Test DNS communications Flags: -d, --domain string DNS Domain to use. (ie: example.com) -h, --help help for godoh -p, --provider string Preferred DNS provider to use. [possible: googlefront, google, cloudflare, quad9, raw] (default "google") -K, --validate-certificate Validate DoH provider SSL certificates Use "godoh [command] --help" for more information about a command.

license

godoh is licensed under a GNU General Public v3 License. Permissions beyond the scope of this license may be available at http://sensepost.com/contact/.

Contributors

Showing top 2 contributors by commit count.

View all contributors on GitHub โ†’

This article is auto-generated from sensepost/godoh via the GitHub API.Last fetched: 6/23/2026