Simple CF Base.

Posts 112 of 12 · Page 1 of 1
Simple CF Base.
Hello,
here's a simple base i made a while ago, as i don't play CF anymore i wanted to share one of my nooby base as i don't need it.

use pcumell's method to makecert\singtool and encrypt the strings.

 
Code

Code:
#include<Windows.h>
#include<process.h>

DWORD dwClientShell = NULL;
DWORD dwWeaponClass = NULL;
DWORD dwWeaponLoop  = NULL;

#define WeaponClass 0x000000
#define WeaponReload 0x000

#define LTClient 0x000000
#define LTClientOffset 0x000

BOOL WeaponClass_Fucntion(DWORD dwWeaponMgr,DWORD dwOffset,FLOAT Value)
{
	dwClientShell = (DWORD)GetModuleHandle("CShell.dll");
	dwWeaponClass = *(DWORD*) (dwClientShell + dwWeaponMgr);

	if(dwWeaponClass)
	{
		for (int i = NULL; i<=999; i++)
		{
			dwWeaponLoop = *(DWORD*) (dwWeaponClass+4*i);
			if(dwWeaponLoop)
			{
				*(float*) (dwWeaponLoop+dwOffset) = (float)Value;
			}
		}
	}
	return EXIT_SUCCESS;
}

BOOL PushToConsole_Function( DWORD dwLTClient, DWORD dwLTClientOffset, CHAR * PTC_Command)
{
	dwClientShell = (DWORD)GetModuleHandle("CShell.dll");
	if(dwClientShell)
	{
		(*(VOID(WINAPIV **)(CHAR*))(*((DWORD*)dwClientShell+dwLTClient)+dwLTClientOffset))(PTC_Command);
	}
     
	return EXIT_SUCCESS;
}

VOID HackThread ( VOID )
{
	WeaponClass_Fucntion(WeaponClass,WeaponReload,100.0f);
	PushToConsole_Function(LTClient,LTClientOffset,"PushToConsole 0");
	
	Sleep(100);
}

BOOL CheckModule ()
{
	dwClientShell = (DWORD)GetModuleHandle("CShell.dll");

	return (dwClientShell? true:false);
}

UINT WINAPI CallThread (PVOID)
{
	while(!CheckModule())
		Sleep(250);

	while(true)
	{
		HackThread();
	}

	return EXIT_SUCCESS;
}


BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD dwCr,LPVOID lpvReserved)
{
	DisableThreadLibraryCalls(hinstDLL);

	if(dwCr = DLL_PROCESS_ATTACH)
	{
		_beginthreadex(NULL,NULL,&CallThread,NULL,NULL,NULL);
		MessageBox(NULL,"Injected by OwNAppLe","CF hack",NULL);
	}

	return EXIT_FAILURE;
}
thx 4 sharing
Good job but i am not gonna use it i dont like leeching.
Quote Originally Posted by Useitnow View Post
Good job but i am not gonna use it i dont like leeching.
I shared it because of Education purpose not for leeching to be honest.
Quote Originally Posted by OwNAppLe View Post
I shared it because of Education purpose not for leeching to be honest.
any way , thanks for sharing
Quote Originally Posted by OwNAppLe View Post
Hello,
here's a simple base i made a while ago, as i don't play CF anymore i wanted to share one of my nooby base as i don't need it.

use pcumell's method to makecert\singtool and encrypt the strings.
pcemul method has no string encryptions :|
Quote Originally Posted by giniyat101 View Post
pcemul method has no string encryptions :|
use pcumell's method to makecert\singtool
...........
Quote Originally Posted by giniyat101 View Post
pcemul method has no string encryptions :|
He said use pcumels method to make cert / sign tools, and encrypt the strings. As in use pcumels method then use something else such as xor to encypt our strings..
Quote Originally Posted by OwNAppLe View Post
...........
myyyy bad lol
Quote Originally Posted by giniyat101 View Post
myyyy bad lol
@giniyat101 Do you know the current offsets for these? :
WeaponReload
LTClient
LTClientOffset
Where should i put the Code? First time using a hack
Quote Originally Posted by bonbonielas View Post
Where should i put the Code? First time using a hack
If you are new, this is too much for you.And for advanced coders,this is too easy. You have to learn C++
Posts 112 of 12 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?