DLL Injector.
Well, I am at a loss as to what to post so I decided I may as well post a simple DLL Injector.
What is a DLL injector? Its a program (in this case, using the WriteProcessMemory/CreateRemoteThread method) to “inject” a DLL (dynamic-link library) into another processes (identified using the PID number) execution space.
Do to the number of people (on and off this blog) asking for a C# port of the above injector, I went ahead and ported it quickly this afternoon. Havent really tested it so I dunno if there are any funny flaws anyway, but none that I could see….
[ WIN32 Executable ] DLL Injector.exe:
[ .RAR ARCHIVE ] – C#-Source, Project(MS-VS8), and the .NET Executable .
Make an auto attach/injector. Like for Maplestory or something. When it sees the process MapleStory.exe, inject selected .DLL.
dBuGG3D/ZETTA/dLuX3 said this on May 21, 2007 at 6:23 am
I didn’t write this for maple story :), so no real use really.
And equally easy method is just use CreateProcess to run maplestory and just return the PID from that.
somebastardstolemyname said this on May 21, 2007 at 3:04 pm
Hi,
I am a developer Can I have code for this injector. Currently I am doing a project and i need a dll injector I am using C#.
I will be really thankful to you If you give me some support and code.
Shakeeb said this on November 5, 2007 at 2:26 pm
Contact me on my msn:
somebastardstolemyname[at]gmail[dot]com
This injector was written in C++, but its a fairly easy port to C#.
Rhys M. said this on November 5, 2007 at 4:58 pm
Any chance you’re still handing out the source for your C# port of this? Cheers,
Ken
Ken said this on January 24, 2008 at 4:54 am
Its right there.
Just click on one of the links (depending on whether or not you want the project files as well.).
But in case the links are not showing for you, here:
With project files:
http://www.box.net/shared/qcn3m3zomo
Without project files:
http://theundead.atspace.com/Blog/CSharpDLLInjectorCode.txt
Rhys M. said this on January 24, 2008 at 4:58 pm
lol. I love nagging over MSN. Glad to see you updated it with the C++ source… ❤
HawwwaH said this on July 19, 2008 at 3:44 pm
This is what I was looking for.. Finnally one that you only need to compile and it works =). Thank you!
unknown said this on December 28, 2008 at 1:14 pm
Glad it worked 😉
Rhys M. said this on January 11, 2009 at 2:07 pm
I thought you might find it interesting that it compiles without modification using the free mingw-g++ compiler. It also converts to straight C by removing #include “stdafx.h” which is not needed anyway, and some odd syntax, such as changing bool to int and true to TRUE.
hellork said this on February 15, 2009 at 11:46 am
Ah cool.
Good to know.
Rhys M. said this on February 15, 2009 at 11:50 am
Found this one on google http://drakenscripts.co.cc/index.php?p=msi&txt=Draken-Scripts-Maplestory-Dll-Injector
It looks pretty cool.
Interlexor said this on May 26, 2009 at 12:50 am
Thats nice.
But like i said, this wasnt written for MapleStory – or any other online game. That was merely dBuGG3D’s presumption.
Rhys M. said this on July 17, 2009 at 9:42 am