SeeSharpSnake icon indicating copy to clipboard operation
SeeSharpSnake copied to clipboard

UPX for a final kick?

Open TWiStErRob opened this issue 6 years ago • 1 comments

Hey, awesome article! I wanted to give a whirl to unleash upx --best zerosnake.exe on the 8k version, but I got

upx: zerosnake.exe: CantPackException: filealign < 0x200 is not yet supported

I don't have all the .NET / Windows development environment set up, but it looks like I would try to increase /filealign:16 in the last command to hopefully fix this. Even if it increases the size, UPX may go farther.

I guess it's kind of a cheat, but it would be interesting to see how much farther it's possible to go.

TWiStErRob avatar Jan 22 '20 21:01 TWiStErRob

Final Kick is to compile as x86 and link with Crinkler (that compresses and links). Tends to be better than UPX: https://twitter.com/MStrehovsky/status/1214955686397980673?s=19

MichalStrehovsky avatar Jan 23 '20 08:01 MichalStrehovsky