Red faceString function

Posts 1–3 of 3 · Page 1 of 1
String function
Code:
#include <windows.h>
#include <string>

void __memcpy__(VOID *lpMem, VOID *lpSrc, DWORD len)
{
	DWORD lpflOldProtect;
	unsigned char *pDst = (unsigned char *)lpMem, *pSrc = (unsigned char *)lpSrc;

	VirtualProtect(lpMem, len, PAGE_READWRITE, &lpflOldProtect);
	
	while (len-- > 0)
		*pDst++ = *pSrc++;

	VirtualProtect(lpMem, len, lpflOldProtect, &lpflOldProtect);
}


DWORD WINAPI TagMark(LPVOID) 
	{
	while(1)
	{
	if(GetAsyncKeyState(VK_HOTKEY))
	{
			char vTotal[] = "PlayDogAsia (STRING HERE)";
			__memcpy__((void*)0xADDRESS, (void*)vTotal, strlen(vTotal) + 1);
	}
	if(GetAsyncKeyState(VK_HOTKEY))
	{
		      char vTotal[] = "PlayDogAsia (STRING HERE)";
			__memcpy__((void*)0xADDRESS, (void*)vTotal, strlen(vTotal) + 1);            
    }
	}
}


BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);

{
		CreateThread(0, 0, (LPTHREAD_START_ROUTINE)TagMark, 0, 0, 0);
	}
	return 1;
}
Credits :
.:| HaXiNgRuLeZ |:.
Bryan
Mukmin
Wow, this source was very used for making totalitem bypass. //RIP
Another nice function that still work is camuflate the Hacking Clan Name while playing in CW.



Good job
Quote Originally Posted by Minerva View Post
Wow, this source was very used for making totalitem bypass. //RIP
Another nice function that still work is camuflate the Hacking Clan Name while playing in CW.



Good job
ya Totalitem RIP!
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?