Little Help , =]

Posts 1–2 of 2 · Page 1 of 1
Little Help , =]
As i back to crossfire section , i found that " CreateThread " Detected On Some Injection Way + Simple Base's
if Someone can do a favor to me and help me


Code:
#include <Windows.h>
#define NoReload 0x26C4
#define WeaponMgr 0xAB2940

int ThreadName(void){
 while (1)
	{
		DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
	    DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);


		if (pWeaponMgr){
		for(int i=0; i<600; i++){
			if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
				*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 75.0f;	}}}


	}
 return 1;
}

int Cshell2(){
   DWORD CShell = 0;
    do
	{
		CShell = (DWORD)LoadLibraryW(L"CShell.dll"); 
		Sleep(100);
	} 
	while (CShell == 0);
	for(;;)
	{
		ThreadName();
		Sleep(100); 
	}
	return true;
}


extern "C" __declspec(dllexport)
void __stdcall DllMain(HINSTANCE hDll, DWORD dwReason, LPVOID lpvReserved)
{
	if(dwReason = 1)
{
DisableThreadLibraryCalls(hDll);
Cshell2(); 
	}
}
Just use Timer and work fine
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us