diff --git a/Makefile b/Makefile index 55c38db..4815b6a 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,6 @@ all: --remove-section=.got \ --remove-section=.note.ABI-tag \ --remove-section=.note.gnu.build-id \ - --remove-section=.note.go.buildid \ --remove-section=.shstrtab \ --remove-section=.typelink \ dist/pakkero; @@ -53,14 +52,13 @@ clean: --remove-section=.got \ --remove-section=.note.ABI-tag \ --remove-section=.note.gnu.build-id \ - --remove-section=.note.go.buildid \ --remove-section=.shstrtab \ --remove-section=.typelink \ dist/pakkero test: clean dist/pakkero \ - -file /usr/bin/echo \ + -file /usr/bin/echo -c \ -o /tmp/test.enc \ -offset 2850000 \ -enable-stdout \ diff --git a/internal/pakkero/obfuscation.go b/internal/pakkero/obfuscation.go index ed10a07..90aed1e 100644 --- a/internal/pakkero/obfuscation.go +++ b/internal/pakkero/obfuscation.go @@ -131,7 +131,6 @@ func StripFile(infile string, launcherFile string) bool { "--remove-section=.got", "--remove-section=.note.ABI-tag", "--remove-section=.note.gnu.build-id", - "--remove-section=.note.go.buildid", "--remove-section=.shstrtab", "--remove-section=.typelink", infile,