~ DLL Injector Source Code ~
I saw many people asking how to do a DLL Injector, so i diceded to post a source that i made for myself...
NOTE: It is in Visual Basic 6 (VB6) You can't open it with VB.net...
You can start doing your first DLL Injector from that source...
I Hope you understand everything i made, and please don't do sh*t with it!
Have fun (The file is Attached)
Doesn't work for me, tried compiling multiple times and using it and it doesn't work.
Edit: I found an error, i fixed it, it should work now...
Mulle, i will try to convert it to VB.net if i got any idea how to fix it, i will tell u ..
thanks bro help me with trying to make my first hack
Ah yes, this code I found over at PSCode.com and it is what inspired me to write my own Module(DLL/Exe) injector and ejector (Similar to unlocker)
As for the .Net problem the error appears to be "Attempted to read or write protected memory. " it probably is due to a problem with VirtualAllocEx. Ensure it is succeeded (proper return value according to MSDN) and you could try perhaps using PAGE_READWRITEEXECUTE.
I would check to ensure that all your API calls are succeeding, and if not go from there.
PS -->
Private Const MEM_RELEASE = &H8000 needs to be changed to Private Const MEM_RELEASE = &H8000& (Add "&" at the end) because we need the number to be unsigned. If it is signed it will = -32768 instead of 32768 which is what we want. (If you dont know about signed numbers google it)
Because the declaration of how it is now VirtualFreeEx is failing. (See MSDN documentation to see the proper return value that it should have for success)
Hopefully this helps.
sweet, thanks. i'll check it out.
Thanks silk... and just to let you know, you can update your sig thing and mark down 50 posts.
what exactly does it do ?
Thank´s
This is very usefull