Skip to content

Tool to extract nuitka compiled executables

License

Notifications You must be signed in to change notification settings

extremecoders-re/nuitka-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuitka Extractor

Nuitka extractor is a tool to extract nuitka compiled Python executables. In particular only onefile (single file) executables are supported. The tool can extract both Windows PE as well as Linux ELF binaries.

Nuitka compiles Python code to native code. A nuitka compiled executable doesn't contain pyc file. Hence this tool can only extract DLLs, shared libraries and other binary assets embedded in the executable.

Usage

Precompiled binaries can be downloaded from releases.

Simply pass the path to the file as an argument.

$ ./nuitka-extractor <file name>
X:\> nuitka-extractor.exe <file name>

ToDo

  • Signed PE execuables are not yet supported. Strip the certificate before extraction.
  • Support for executables with a hardcoded extraction directory. For such executables, nuitka includes the crc32 of each embedded file within the payload. Thus the payload format is slightly changed.

License

Nuitka extractor is released under the MIT license.