How to reverse engineer Python scripts turned into binaries with cx_Freeze?
-
Hi and welcome to RE.SE. All questions here are Q&A, thanks for your contribution. No need to point it out with custom "tags", though. I removed the answer from what's formally the question and made cosmetic adjustments to the answer as well.– 0xC0000022L ♦Commented Nov 6, 2020 at 9:14
-
Thanks! it wouldnt let me submit the question without that extra text thats why I put it there– user14118720Commented Nov 9, 2020 at 17:59
Add a comment
|
1 Answer
- find the
library.zip
inside thelib
folder included - extract
EXENAME__main__.pyc
(EXENAME is the name of the exe) - run
pip install decompyle3
- run
decompyle3 EXENAME__main__.pyc
and the source will be printed onto the screen
-
I'm getting xdis might need to be informed about version '3.8.18' and Unknown magic number 3495 or KeyError depending on using decompyle3 or uncompyle6– No NameCommented Jan 17 at 0:33