2

How to reverse engineer Python scripts turned into binaries with cx_Freeze?

2
  • 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
    Nov 6 '20 at 9:14
  • Thanks! it wouldnt let me submit the question without that extra text thats why I put it there Nov 9 '20 at 17:59
2
  1. find the library.zip inside the lib folder included
  2. extract EXENAME__main__.pyc (EXENAME is the name of the exe)
  3. run pip install decompyle3
  4. run decompyle3 EXENAME__main__.pyc and the source will be printed onto the screen

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.