Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Unpacking and repacking exe

Hi guys,

Is it possible to unpack an exe, edit the source and repack it?

Basically the exe has a 7 day trial function on it to then it ceases working and I want to remove it or add X days to it so I can use it forever.

It was made using pyinstaller.

Thanks!
Most likely it is. You could as well get just the functions you need from it and use them as a script.
(Jan 13, 2021 06:14 AM)SIM-4378207 Wrote:  Most likely it is. You could as well get just the functions you need from it and use them as a script.

So I've figured out how to unpack and decompile the exe thanks to the abundance of tutorials out there however there's little information on how to repack it or make a new exe after editing the source file...
(Jan 13, 2021 06:48 AM)JuVe Wrote:  So I've figured out how to unpack and decompile the exe thanks to the abundance of tutorials out there however there's little information on how to repack it or make a new exe after editing the source file...

That should help you - https://www.pyinstaller.org/

Packaging a Python app usually isn't that hard but there are some tricky stuff there too. Lots of tutorials on the internet tho.
(Jan 13, 2021 10:28 AM)SIM-4378207 Wrote:  That should help you - https://www.pyinstaller.org/

Packaging a Python app usually isn't that hard but there are some tricky stuff there too. Lots of tutorials on the internet tho.

Aware of pyinstaller too.. however its not a simple process repackaging an exe you extracted that has a lot of files & dependencies and you've only decompiled the source file. Not really much information in that regard available 😥


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by hihihix12Mar 19, 2019 05:59 AM 4 156 Mar 19, 2019 05:59 AM
Last Post: hihihix12
[C] by OutfitDec 11, 2015 03:25 AM 0 131 Dec 11, 2015 03:25 AM
Last Post: Outfit
[C#] by DaHaxorAug 11, 2015 11:43 PM 15 977 Aug 11, 2015 11:43 PM
Last Post: Geekie