Try placing it in DLL_THREAD_ATTACH, see if that works. is Valkyrie a stealth injector(does it remove your DLL from the PEB linked list etc?)
try using another injector(google for TatniumInjector or s1nject)
Yo, me again.
I havn't made a DLL in such a long time now, and I wanted to try and make a hack now but i'm having some troubles.
I'm using Dev C++.
I'm testing this on Minesweeper, i'm using Valkyrie injector. It's just supposed to open a messagebox when it's injected but nothing comes up when it's injected. I can't even find any problems with this.Code:#include <windows.h> BOOL APIENTRY DllMain (HINSTANCE hInst , DWORD reason , LPVOID reserved ) { switch (reason) { case DLL_PROCESS_ATTACH: MessageBox(NULL,"Test","Test",MB_OK); break; case DLL_PROCESS_DETACH: break; case DLL_THREAD_ATTACH: break; case DLL_THREAD_DETACH: break; } return TRUE; }
All help appreciated, thanks.
Try placing it in DLL_THREAD_ATTACH, see if that works. is Valkyrie a stealth injector(does it remove your DLL from the PEB linked list etc?)
try using another injector(google for TatniumInjector or s1nject)
Ah we-a blaze the fyah, make it bun dem!
Tryed that already.Try placing it in DLL_THREAD_ATTACH, see if that works. is Valkyrie a stealth injector(does it remove your DLL from the PEB linked list etc?)
I can't find those injectors, no other injector will work for this?try using another injector(google for TatniumInjector or s1nject)
Or are you just suggesting those?
Ummm... I think you have to inject it while the executable is loading, but not sure. Lately I've been failing so I won't say to much. =/
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower
I used MSVC++'s DLL template thing and now it works fine.
would you be able to share the injection code , the samples i try dont work for some reason
this is the sample , https://www.dreamincode.net/code/snippet407.htm
Last edited by Anddos; 11-30-2009 at 09:27 PM.
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower
Bleh, I just switched computers, I don't have anything on this. It's not even Windows.
I'll update you on that tomorrow.