Thread: String function

Results 1 to 3 of 3
  1. #1
    HaXiNgRuLeZ's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    443
    Reputation
    40
    Thanks
    3,007
    My Mood
    Cynical

    Red face 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
    Join MPGH : Jun 2016
    ~30/100 Comeback~









  2. The Following 2 Users Say Thank You to HaXiNgRuLeZ For This Useful Post:

    RuShi (12-09-2016),Minerva (12-09-2016)

  3. #2
    Minerva's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    2,152
    Reputation
    380
    Thanks
    7,740
    My Mood
    Relaxed
    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

  4. #3
    HaXiNgRuLeZ's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    443
    Reputation
    40
    Thanks
    3,007
    My Mood
    Cynical
    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!
    Join MPGH : Jun 2016
    ~30/100 Comeback~









Similar Threads

  1. [IDC] Tiny script automatically naming ~300 functions by parsing debug strings
    By Ende! in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 18
    Last Post: 07-07-2012, 08:22 PM
  2. [HELP] User-Definable Function Strings
    By ilovepie21 in forum Visual Basic Programming
    Replies: 1
    Last Post: 04-24-2008, 09:16 PM
  3. Delphi 7 for replacing detected CE strings??
    By jokuvaan11 in forum WarRock - International Hacks
    Replies: 5
    Last Post: 07-02-2007, 03:34 AM
  4. String Theory
    By arunforce in forum General
    Replies: 8
    Last Post: 01-14-2007, 09:49 AM
  5. Disable some of punkbuster's functions.
    By System79 in forum Game Hacking Tutorials
    Replies: 3
    Last Post: 09-06-2006, 11:32 PM