flat assembler
Message board for the users of flat assembler.
Index
> Windows > question about a loader... |
Author |
|
randomdude 04 Aug 2012, 19:57
i have made a loader based on comrade's Loader Tool
http://comrade.ownz.com/projects/petools.html it works fine, the problem is that i want that the process also calls an exported function from my injected dll i tried memory patching the process to jump to a codecave in my injected dll mov ebx,12345678h ;address to patch invoke VirtualProtect,ebx,5,PAGE_EXECUTE_READWRITE,lpflOldProtect invoke GetModuleHandle,0 invoke GetProcAddress,eax,funcname sub eax,ebx sub eax,5 mov byte[ebx],0E9h inc ebx mov dword[ebx],eax but it always crashes any help would be appreciated edit: nvm, i figured it out myself |
|||
04 Aug 2012, 19:57 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.