/exe_to_dll

Converts a EXE into DLL

Primary LanguageC++

EXE_to_DLL

Build status GitHub release Github All Releases

Converts an EXE, so that it can be loaded like a DLL.
Supports both 32 and 64 bit DLLs

Inspired by the idea of @guywhataguy. Read more here.

Download

Stable builds are available in releases.

Test builds can be downloaded from the build server (click on the build and choose the "Artifacts" tab)

Clone

Use recursive clone to get the repo together with all the submodules:

git clone --recursive https://github.com/hasherezade/exe_to_dll.git

Usage

Run exe_to_dll from commandline. Arguments:

args: <input_exe> <output_dll>

Example:

exe_to_dll.exe test_case1.exe test_case1.dll

After the successful conversion you should obtain a DLL exporting a Start function. This is the Original Entry Point of your input application.

You can test it by running:

rundll32.exe test_case1.dll,Start