hasherezade / exe_to_dll

Converts a EXE into DLL
1.25k stars 188 forks source link

Export Entry Point #1

Closed hasherezade closed 1 year ago

hasherezade commented 4 years ago

Currently only loading of the EXE as a DLL is supported. But in order to call any function, we must manually find and call its address.

For easier use, it would be beneficial to have the export table created, and the Original Entry Point should be added as an exported function.

websecnl commented 3 years ago

So what is the main entry point name, lets say I want to run it with rundll32 ?

This is not working: testload x.dll dllmain

hasherezade commented 3 years ago

@websecnl as it is mentioned in the parameters description, testload requires you to give the RVA of the function, not the name: https://github.com/hasherezade/exe_to_dll/blob/master/testload/main.cpp#L18

hasherezade commented 1 year ago

Implemented in the release 1.1