Golang

Obfuscate Go Tooling

garble

Example with chisel:

$ go install mvdan.cc/garble@latest
$ go install github.com/jpillora/chisel@latest
$ git clone https://github.com/jpillora/chisel chisel-src && cd chisel-src
$ env CGO_ENABLE=1 GOOS=windows GOARCH=amd64 garble -literals -tiny build -ldflags "-s -w -H windowsgui" -trimpath

Example with rsockstun:

$ git clone https://github.com/llkat/rsockstun rsockstun-src && cd rsockstun-src
$ go mod init rsockstun && go mod tidy
$ env CGO_ENABLE=1 GOOS=windows GOARCH=amd64 garble -literals -tiny build -ldflags "-s -w -H windowsgui" -trimpath

Last updated