Skip to content

Obfuscate go binaries. 混淆 go 二进制文件中的函数名

Notifications You must be signed in to change notification settings

v0id-re/go-smash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

go-smash

Obfuscate go binaries. 混淆 go 二进制文件中的函数名

Usage

usage: go-smash.py [-h] [-b BINARY_PATH] [-o OUT_PATH] [-n] [-k KEYWORDS [KEYWORDS ...]]

go-smash.py -- Obfuscate go binaries

optional arguments:
  -h, --help            show this help message and exit
  -b BINARY_PATH, --binary_path BINARY_PATH
                        path to the binary that you want to obfuscate
  -o OUT_PATH, --out_path OUT_PATH
                        path to obfuscated binary
  -n, --no-log          no log
  -k KEYWORDS [KEYWORDS ...], --keywords KEYWORDS [KEYWORDS ...]
                        specify the keywords , functions with these keywords in their names will be obfuscated

Example

混淆 ez_CM.exe 中所有包含 main github runtime 关键字的函数名

python go-smash.py -k main github runtime -b ezCM.exe -o ezCM_smashed.exe -n

混淆前:

混淆后:

Reference

https://github.com/sibears/IDAGolangHelper

Requirements

pip install lief

About

Obfuscate go binaries. 混淆 go 二进制文件中的函数名

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages