Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hasherezade/exe_to_dll

Converts a EXE into DLL
https://github.com/hasherezade/exe_to_dll

Last synced: 5 days ago
JSON representation

Converts a EXE into DLL

Awesome Lists containing this project

README

        

# EXE_to_DLL

[![Build status](https://ci.appveyor.com/api/projects/status/2exf5ulw51klq8wt?svg=true)](https://ci.appveyor.com/project/hasherezade/exe-to-dll)
[![GitHub release](https://img.shields.io/github/release/hasherezade/exe_to_dll.svg)](https://github.com/hasherezade/exe_to_dll/releases)
[![Github All Releases](https://img.shields.io/github/downloads/hasherezade/exe_to_dll/total.svg)](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:
```
git clone --recursive https://github.com/hasherezade/exe_to_dll.git
```

## Usage

Run `exe_to_dll` from commandline. Arguments:

```
args:
```

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.

![](img/exp_table.png)

You can test it by running:

```
rundll32.exe test_case1.dll,Start
```