nuitka-extractor icon indicating copy to clipboard operation
nuitka-extractor copied to clipboard

Just wondering about the use of this

Open theAbdoSabbagh opened this issue 1 year ago • 1 comments

Hello, amazing project I must say. I tested it on my on exe, it extracted the PYDs and DLLs, but the final extraction is like as if i compiled my app into a standalone exe, i couldnt find anything related to the actual source. So I was wondering how this could be useful

theAbdoSabbagh avatar Jul 11 '24 05:07 theAbdoSabbagh

Nuitka transpiles python source to .c code which is then compiled to native code by means of a traditional compiler. As such it is extremely difficult to reverse the process to recover the original high level python sources as during compilation most of the information is lost.

The current objective of the tool is mainly to extract a single file nuitka compiled executable to get back the embedded assets like DLLs, PYDs. binary assets and stuff. In future this may be expanded such as to be able to get a listing of python sources which the executable is built of and be able to locate the addresses of the python functions etc similar to what that is possible with compiled golang binaries today by parsing pclntab and associated metadata.

extremecoders-re avatar Jul 11 '24 15:07 extremecoders-re