Golang混淆

github上有两个可以对Golang生成的exe进行混淆

1、https://github.com/boy-hack/go-strip

使用方法:

go-strip -f binary.exe -a -output new.exe
new.exe即是混淆后的二进制文件

 

2、https://github.com/burrowers/garble

这个一开始以为是对代码进行混淆,但是似乎也是对生成的二进制文件进行混淆

使用方法,在编译时输入:

set GO111MODULE=on
go get mvdan.cc/garble
garble -literals build 包名

posted @ 2021-07-22 11:18  xiaoxiaosen  阅读(4595)  评论(0编辑  收藏  举报