https://github.com/hasherezade/exe_to_dll
Converts a EXE into DLL
https://github.com/hasherezade/exe_to_dll
Last synced: 16 days ago
JSON representation
Converts a EXE into DLL
- Host: GitHub
- URL: https://github.com/hasherezade/exe_to_dll
- Owner: hasherezade
- Created: 2020-04-16T16:27:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-09-13T18:49:09.000Z (about 1 month ago)
- Last Synced: 2025-09-13T20:40:09.722Z (about 1 month ago)
- Language: C++
- Homepage:
- Size: 49.8 KB
- Stars: 1,340
- Watchers: 33
- Forks: 202
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-hacking-lists - hasherezade/exe_to_dll - Converts a EXE into DLL (C++)
README
# EXE_to_DLL
[](https://ci.appveyor.com/project/hasherezade/exe-to-dll)
[](https://github.com/hasherezade/exe_to_dll/releases)
[](https://github.com/hasherezade/exe_to_dll/releases)
[](https://github.com/hasherezade/exe_to_dll/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](https://github.com/guywhataguy/). Read more [here](https://blog.vastart.dev/2020/04/calling-arbitrary-functions-in-exes.html).***
## Download
Stable builds are available in [releases](https://github.com/hasherezade/exe_to_dll/releases).
Test builds can be downloaded from [the build server](https://ci.appveyor.com/project/hasherezade/exe-to-dll) (click on the build and choose the "Artifacts" tab)
## Clone
Use recursive clone to get the repo together with all the submodules:
```console
git clone --recursive https://github.com/hasherezade/exe_to_dll.git
```
## Usage
Run `exe_to_dll` from commandline. Arguments:
```
args:
```
Example:
```console
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:
```console
rundll32.exe test_case1.dll,Start
```