QuestionDll

Posts 1–10 of 10 · Page 1 of 1
Dll
hey guys iv made a DLL but whenever i inject it crossfire crashes

Code:
#include<windows.h>
#include<iostream>

using namespace std;


DWORD WINAPI dwMyThread(LPVOID)


 {
Sleep(1000);

// hack code here



}





BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
 DisableThreadLibraryCalls(hDll);
 if ( dwReason == DLL_PROCESS_ATTACH ) {
	 MessageBoxA(0, "CrossFire Hack Coded by .", "Injected", 0);
	 CreateThread(NULL,NULL,dwMyThread,NULL,NULL,NULL);
 }
 return true;
}
thanks for helping
wow...this is honestly nothing
sorry im going to post it all then :O
Quote Originally Posted by wtfhaksftw View Post
hey guys iv made a DLL but whenever i inject it crossfire crashes

Code:
#include<windows.h>
#include<iostream>

using namespace std;


DWORD WINAPI dwMyThread(LPVOID)


 {
Sleep(1000);

// hack code here



}





BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
 DisableThreadLibraryCalls(hDll);
 if ( dwReason == DLL_PROCESS_ATTACH ) {
	 MessageBoxA(0, "CrossFire Hack Coded by .", "Injected", 0);
	 CreateThread(NULL,NULL,dwMyThread,NULL,NULL,NULL);
 }
 return true;
}
thanks for helping
Code:
#include<windows.h>
#include<iostream>

using namespace std;

DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll"); 

void main() {
Sleep(100);

bool leecheraboveaskingforhelp = true;


if(leecheraboveaskingforhelp) {
for(int i=0 ; i<445 ; i++)
*(float*)( (*(DWORD*)((*(DWORD*)(CShellBase+leecheraboveaskingforhelp))+(4*i))) + 0x0754) = FLT_MAX ;  // leecheraboveaskingforhelp
}

}


BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
 DisableThreadLibraryCalls(hDll);
 if ( dwReason == DLL_PROCESS_ATTACH ) {
	 MessageBoxA(0, "[gS]-**HACKER** Hack.", "CrossFire Hack Z8games", 0);

 }
 
 return 0;
}
try my base there and thank me if it works !
lol i can copy and paste too you know. u just changed oneshot into leecheraboveaskingforhelp. thats not what i wanted, i wanted to know why mine crashes... No need to copy and paste code on mpgh
Quote Originally Posted by wtfhaksftw View Post
lol i can copy and paste too you know. u just changed oneshot into leecheraboveaskingforhelp. thats not what i wanted, i wanted to know why mine crashes... No need to copy and paste code on mpgh
You'r right this is the first time i agree with you sam22
Well first we need to see your code?
You code the LTC codes right?
@sh_z_sektor no im not sam22 -.- idk who that is but u can check ip maybe if u ask admin.
@©®o$s ƒi®E™ ok i think i know why now. maybe ill need some help later though
Code:
 Sleep(1000);
change it to

Code:
 Sleep(100);


but you wont be able inject it still cuz xtrap is finding it as uh...for lack of a better term dangerous
Ok thx man. Damn xcrap
Posts 1–10 of 10 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us