[Source Code] String function

Discussion in 'Soma Accounts - Buy Sell Trade' started by HaXiNgRuLeZ, 12/9/16.

Thread Status:
Not open for further replies.
  1. HaXiNgRuLeZ

    HaXiNgRuLeZ
    Expand Collapse
    High Risk Status: This user has been flagged as high risk due to one or more reasons

    0   0   0

    Online
    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
     
    • This user is inactive. Hasn't logged into their account in over 60 days.
Thread Status:
Not open for further replies.