89luca89 / pakkero

Pakkero is a binary packer written in Go made for fun and educational purpose. Its main goal is to take in input a program file (elf binary, script, even appimage) and compress it, protect it from tampering and intrusion.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error while compressing launcher

dhondta opened this issue · comments

commented
$ pakkero --file whoami -o test -c
 → Randomizing offset...		[ OK ]
 → Registering Dependencies...		[ OK ]
 → Creating Launcher Stub...		[ OK ]
 → Obfuscating Launcher Stub...		[ OK ]
 → Compiling Launcher...		[ OK ]
 → Stripping Launcher...		[ OK ]
 → Compressing Launcher...failed to execute command /home/user/.local/bin/upx test: exit status 1
                       Ultimate Packer for eXecutables
                          Copyright (C) 1996 - 2022
UPX 4.0.1       Markus Oberhumer, Laszlo Molnar & John Reiser   Nov 16th 2022

        File size         Ratio      Format      Name
   --------------------   ------   -----------   -----------
upx: test: CantPackException: span unexpected NULL pointer; take care!

Packed 1 file: 0 ok, 1 error.

		[ ERR ]
		[ ERR ]
 → Cleaning up...			[ OK ]

Hi @dhondta

I've fixed the issue with latest commit 👍