This was the first thing I wrote upon learning about game hacking yesterday. I looked at a bunch of injectors and saw a bunch of sloppy, childish GUIs. Plus, I wanted the experience of writing my own. So, I did.
This is a nice, simple DLL injector. You can either select the process out of a list of running processes, or type in the name manually. You can then browse for a DLL. It will wait for the process if it's not yet started, then inject the DLL.
It's written in pure C (to noobs: yes, C code is valid C++) and uses the Win32 API directly (no MFC, Windows Forms, etc). I compile all my code on gcc so I've made sure it compiles on both GCC and MS Visual Studio.
Both the source and the EXE are included, along with a handy compiler batch file and all the resources needed.
Screenshot:
Virus scans etc:
VirusTotal
Jotti
And, the .zip is attached. The source should be pretty easy to follow. If you have any questions, just ask!
I hope people learn from this. I don't care about credits too much, but if you use code from it, give me a mention or something.
Tekkn0logik