unixpickle / gobfuscate

Obfuscate Go binaries and packages
BSD 2-Clause "Simplified" License
1.45k stars 157 forks source link

Could you add how to use this library #21

Closed mesameen closed 4 years ago

mesameen commented 5 years ago

Could you add how to use this library

TheRealFlyingFrog commented 4 years ago

(This is how i did it, point is, you have to compile the repo) Download the repo. cd into it and use go build . or however you wanna build it the just run it and it will show you this help screen:

Usage: gobfuscate [flags] pkg_name out_path
  -enckey string
        rename encryption key
  -keeptests
        keep _test.go files
  -noencrypt
        no encrypted package name for go build command (works when main package has CGO code)
  -nostatic
        do not statically link
  -outdir
        output a full GOPATH
  -verbose
        verbose mode
  -winhide
        hide windows GUI