0

I am trying to get python source code from only exe file compiled by pyinstaller.

I used the pyinstxtractor.py and got extracted folder.

And then what or how should I do?

Or could you explain other ways?

Any help will be appreciated.

  • Hi and welcome to RE.SE. It's not immediately clear what your want or where you are stuck. The project README (I have never personally used that project!) states: The header of the pyc files are automatically fixed so that a Python bytecode decompiler will recognize it. so it appears to me that you should simply run the output from your above tool through a Python byte code decompiler. – 0xC0000022L Oct 20 at 6:57
  • Hi, 0xC00000022L, THanks for your reply. Yep, I changed the header usng HxD, and used uncompyle6. But in converting processing, I got error. – jis0324 Oct 20 at 16:02
  • None of that is in your question, though. So what error did you get and by now we'd probably need the file. Also, did you try another bytecode decompiler? – 0xC0000022L Oct 20 at 19:15
  • Hi, 0xC0000022L. I really want to get any help from someone, if possible, from you. Can I upload or show you the file? – jis0324 Oct 20 at 21:22
  • Yes. Please upload the file and also mention the exact error you get here. – sudhackar Oct 21 at 7:47

Your Answer

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

Browse other questions tagged or ask your own question.