Skip to content

X-C3LL/go16_strip

Repository files navigation

Go16_strip

Normally I use the script go_strip.py from @Zlowram_ to patch the pclntab of binaries generated in Go to avoid information leaks (paths, function names...), but the structure in Go 1.16 has changed. I have updated the script to work for these versions. It uses radare2 via r2pipe

Keep in mind that there are more places where you need to remove info ;)

Note: Building with -trimpath also helps x'D

Example

Here I use chisel as example:

Before

After

Author

Juan Manuel Fernández (@TheXC3LL)

About

Patch the pclntable from Go binaries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages