-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
$ make test
rm -rf dist/;
go build -i \
-gcflags="-N" \
-gcflags="-nolocalimports" \
-gcflags="-pack" \
-gcflags="-trimpath=." \
-asmflags="-trimpath=." \
-gcflags="-trimpath=$GOPATH/src/" \
-asmflags="-trimpath=$GOPATH/src/" \
-ldflags="-X github.com/89luca89/pakkero/internal/pakkero.LauncherStub=$(base64 -w0 data/launcher.go) -s" \
-o dist/pakkero;
go build: -i flag is deprecated
strip \
-sxXwSgd \
--remove-section=.bss \
--remove-section=.comment \
--remove-section=.eh_frame \
--remove-section=.eh_frame_hdr \
--remove-section=.fini \
--remove-section=.fini_array \
--remove-section=.gnu.build.attributes \
--remove-section=.gnu.hash \
--remove-section=.gnu.version \
--remove-section=.got \
--remove-section=.note.ABI-tag \
--remove-section=.note.gnu.build-id \
--remove-section=.shstrtab \
--remove-section=.typelink \
dist/pakkero
dist/pakkero \
-file /usr/bin/echo -c \
-o /tmp/test.enc \
-offset 2850000 \
-enable-stdout \
-register-dep /usr/bin/bash;
→ Randomizing offset... [ OK ]
→ Registering Dependencies... [ OK ]
→ Creating Launcher Stub... [ OK ]
→ Obfuscating Launcher Stub... [ OK ]
→ Compiling Launcher... [ OK ]
→ Stripping Launcher... [ OK ]
→ Compressing Launcher... [ OK ]
→ Cleaning up... [ OK ]
→ Verifying input offset... [ OK ]
→ Adding garbage... [ OK ]
→ Reading payload... [ OK ]
→ Compressing payload... [ OK ]
→ Encrypting payload... [ OK ]
→ Adding garbage to payload... [ OK ]
sync;
sh -c "/tmp/test.enc test"
make: *** [test] Error 1
Metadata
Metadata
Assignees
Labels
No labels