flat assembler
Message board for the users of flat assembler.
Index
> Windows > Here's a concept... |
Author |
|
vid 18 Jun 2007, 01:23
you can create a DLL loader, append DLL as data, and pass it's address to loader that will load it when exe runs.
next time think about better thread name please |
|||
18 Jun 2007, 01:23 |
|
kohlrak 18 Jun 2007, 01:35
I am bad with names. I mean, common, look at my name on the forums. Trust me, you dont' want me to name your kids... Anyway!
As for creating a DLL loader. That would be the fun part. I could easily load the DLL into memory as a file variable. It's finding the address of functions for use with jmp or call that's hard. |
|||
18 Jun 2007, 01:35 |
|
vid 18 Jun 2007, 03:11
don't forget to load DLL not byte-to-byte same as in file, but as loader does (section align 4096, instead of 512 in file). Then just look through DLL exports, and you can find functions that interest you
|
|||
18 Jun 2007, 03:11 |
|
kohlrak 18 Jun 2007, 03:15
To be honest i really don't know where to start.
|
|||
18 Jun 2007, 03:15 |
|
vid 18 Jun 2007, 12:33
start by reading about PE format, and maybe try writing utility that will dump contents of PE headers, sections, tables etc... That will give you knowledge of PE format you need to manually load DLL
http://en.wikibooks.org/wiki/Reverse_Engineering/PE |
|||
18 Jun 2007, 12:33 |
|
r22 18 Jun 2007, 16:40
Interesting concept, but can you give an example of how this would be useful?
|
|||
18 Jun 2007, 16:40 |
|
vid 18 Jun 2007, 19:29
when you want to add code to already existing binary for some reason. For example i did this in copy protector
|
|||
18 Jun 2007, 19:29 |
|
kohlrak 18 Jun 2007, 19:45
Let's say you want to use fmod (for example) in a program but you don't want to go through all the rigamaroo of an installer file.
|
|||
18 Jun 2007, 19:45 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.