godoh 用 Go 语言编写的,用于实现 DNS-over-HTTPS 的验证项目,目前支持服务商包括: Google,Cloudflare,但也包含使用传统DNS的服务。
从源码中构建 godoh :
godoh
go get -v -u github.com/golang/dep/cmd/dep
$GOPATH
src/
sensepost/godoh
dep ensure
make key
go
make
build/
$ godoh -h A DNS (over-HTTPS) C2 Version: dev By @leonjza from @sensepost Usage: godoh [command] Usage: 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: google, cloudflare, raw] (default "google") Use "godoh [command] --help" for more information about a command.