Greetings,
I'm currently building a litle project for my computer sience class. This project consists of a Dll injector + the injected dll .I've choosen vb6 for the injector and masm32 for the dll, because I've started C/C++ a few moths ago and still have problems with the pointers stuff. But anyway the Dll is pretty easy to make. The probleme is about the injector.
I've successfuly implemented the code that injects/uninjects the dll. I'm currently having troubles with calling, from the local process (injector) but in the target process memory space, a function exported in the injected dll. I've tried to do that based on some code snippets from different forums, as you can see in "CallFunction" (see attachement), but its just not working. Sometimes it crashes (even the built .exe) with a "memory can't be read exception", or it just returns -1
I've put the whole project in the zip along with the dll so you can examine it.
Thank you.
ps : this is my first post so I don't now if my presentation is good enough .![]()




. But anyway the Dll is pretty easy to make. The probleme is about the injector.
Reply With Quote