Freeze icon indicating copy to clipboard operation
Freeze copied to clipboard

Support for multiple DLL export functions parsed from a DLL file or comma separated

Open mariolima opened this issue 2 years ago • 3 comments

Possible uses

./Freeze -I loader.bin -O loader.dll -export SetLnkAUMI,UninstAppUserModelId,UninstShortcut Will create a loader with the exported the functions SetLnkAUMI,UninstAppUserModelId,UninstShortcut

./Freeze -I loader.bin -O loader.dll -export wer.dll Will parse the given wer.dll DLL with Binject/debug/pe and use its Export functions in the loader.

Feel free to ignore this PR if it doesn't fit your view of the project btw! :) I just found this super useful for DLL sideloading.

mariolima avatar Dec 17 '22 16:12 mariolima

I will take a look at this and get back to you.

Tylous avatar Dec 21 '22 22:12 Tylous

This doesn't give multiple exports, it actually gives one long. I need to tweak the struct. to allow various different function names. Will adjust in the new version.

Tylous avatar Feb 07 '23 19:02 Tylous

Ah I see. Thanks for looking into this!

I believe I got it working with all variations: ./Freeze -I loader.bin -O loader.dll -export "SetLnkAUMI,Testing"

image

./Freeze -I loader.bin -O loader.dll -export wdscore.dll image

./Freeze -I loader.bin -O loader.dll image

mariolima avatar Feb 08 '23 17:02 mariolima