#define WIN32_LEAN_AND_MEAN //buang yg tidak berguna #include <windows.h> // include untuk createthread #include <stdio.h> #include <stdlib.h> #define OFS_BASEz 0xE5F568 #define OFS_BASE 0xE60590 #define OFS_NPC1 0x13D #define OFS_NPC2 0x259 #define OFS_NPC3 0x375 #define OFS_NPC4 0x481 #define OFS_NPC5 0x5AD #define ANTISPAM 0xE8E3B4 #define ANTISPAM2 0xE8D3B4 #define Bypass2nd 0x5A4CE4 #define OFS_SONG 0x537328 #define OFS_Bacod 0x5C54D5 #define OFS_Sensor1 0x537400 #define OFS_Sensor2 0x5A47A0 #define OFS_PeachEmo 0x53754C LPTSTR ModulGame = "Audition.exe"; //////////////assembly ///////////////////// void Patch(void *adr, void *ptr, int size) { DWORD OldProtection; VirtualProtect(adr,size,PAGE_EXECUTE_READWRITE, &OldProtection); memcpy(adr,ptr,size); VirtualProtect(adr,size,OldProtection, &OldProtection); } void NichKeren(void *adr, void *ptr, int size) { unsigned long NewProtection; VirtualProtect((void*)adr,size,PAGE_EXECUTE_READWRITE, &NewProtection); memcpy((void*)adr,(const void*)ptr,size); VirtualProtect((void*)adr,size,NewProtection, 0); } ///////////write memory//////////////////// void WritePointer(unsigned long ulBase, int iOffset, int iValue) { if (!IsBadReadPtr((VOID*)ulBase, sizeof(unsigned long))) { if (!IsBadWritePtr((void*)(*(unsigned long*)ulBase + iOffset), sizeof(unsigned long))) { *(int*)(*(unsigned long*)ulBase + iOffset) = iValue; } } } int __stdcall Clonez(void) { DWORD dwPB = (DWORD)GetModuleHandleA(ModulGame); if (dwPB > 0) { WritePointer(dwPB + (DWORD)OFS_BASEz, (OFS_NPC1), 0x03); WritePointer(dwPB + (DWORD)OFS_BASEz, (OFS_NPC2), 0x03); WritePointer(dwPB + (DWORD)OFS_BASEz, (OFS_NPC3), 0x03); WritePointer(dwPB + (DWORD)OFS_BASEz, (OFS_NPC4), 0x03); WritePointer(dwPB + (DWORD)OFS_BASEz, (OFS_NPC5), 0x03); return 0; // unhook biar gk kedeteck HACKSHIELD } } int __stdcall Clone(void) { DWORD dwPB = (DWORD)GetModuleHandleA(ModulGame); if (dwPB > 0) { WritePointer(dwPB + (DWORD)OFS_BASE, (OFS_NPC1), 0x03); WritePointer(dwPB + (DWORD)OFS_BASE, (OFS_NPC2), 0x03); WritePointer(dwPB + (DWORD)OFS_BASE, (OFS_NPC3), 0x03); WritePointer(dwPB + (DWORD)OFS_BASE, (OFS_NPC4), 0x03); WritePointer(dwPB + (DWORD)OFS_BASE, (OFS_NPC5), 0x03); return 0; // unhook biar gk kedeteck HACKSHIELD } } DWORD WINAPI MemPacth(LPVOID param) // Perulangan { while (1) { // Jika nilai 1 atau True jalankan fungsi dibawah ini ! if (GetAsyncKeyState(VK_LBUTTON)&1) { DWORD adrMin1, adrMin2 = 0; DWORD dwPB = (DWORD)GetModuleHandleA(ModulGame); if (dwPB > 0) { adrMin1 = dwPB + (DWORD)OFS_SONG; Patch((void *)(adrMin1),(void*)(PBYTE)"\x61", 1); //adrMin1 = dwPB + (DWORD)OFS_Bacod; //Patch((void *)(adrMin1),(void*)(PBYTE)"\x73\x63\x72\x69\x70\x74\x2F\x78\x74\x6F\x72\x79\x2F\x73\x74\x6F\x72\x79\x25\x64\x5F\x25\x64\x2E\x73\x6C\x6B", 26); adrMin1 = dwPB + (DWORD)OFS_PeachEmo; Patch((void *)(adrMin1),(void*)(PBYTE)"\x61", 1); adrMin1 = dwPB + (DWORD)OFS_Sensor1; Patch((void *)(adrMin1),(void*)(PBYTE)"\x61", 1); adrMin1 = dwPB + (DWORD)OFS_Sensor2; Patch((void *)(adrMin1),(void*)(PBYTE)"\x61", 1); adrMin1 = dwPB + (DWORD)ANTISPAM; Patch((void *)(adrMin1),(void*)(PBYTE)"\x00\x00", 2); adrMin1 = dwPB + (DWORD)ANTISPAM2; Patch((void *)(adrMin1),(void*)(PBYTE)"\x00\x00", 2); adrMin1 = dwPB + (DWORD)Bypass2nd; Patch((void *)(adrMin1),(void*)(PBYTE)"\x00\x00", 2); } } if (GetAsyncKeyState(VK_RETURN)&1) { DWORD adrMin1, adrMin2 = 0; DWORD dwPB = (DWORD)GetModuleHandleA(ModulGame); if (dwPB > 0) { adrMin1 = dwPB + (DWORD)OFS_SONG; Patch((void *)(adrMin1),(void*)(PBYTE)"\x61", 1); //adrMin1 = dwPB + (DWORD)OFS_Bacod; //Patch((void *)(adrMin1),(void*)(PBYTE)"\x73\x63\x72\x69\x70\x74\x2F\x78\x74\x6F\x72\x79\x2F\x73\x74\x6F\x72\x79\x25\x64\x5F\x25\x64\x2E\x73\x6C\x6B", 26); adrMin1 = dwPB + (DWORD)OFS_PeachEmo; Patch((void *)(adrMin1),(void*)(PBYTE)"\x61", 1); adrMin1 = dwPB + (DWORD)OFS_Sensor1; Patch((void *)(adrMin1),(void*)(PBYTE)"\x61", 1); adrMin1 = dwPB + (DWORD)OFS_Sensor2; Patch((void *)(adrMin1),(void*)(PBYTE)"\x61", 1); adrMin1 = dwPB + (DWORD)ANTISPAM; Patch((void *)(adrMin1),(void*)(PBYTE)"\x00\x00", 2); adrMin1 = dwPB + (DWORD)ANTISPAM2; Patch((void *)(adrMin1),(void*)(PBYTE)"\x00\x00", 2); adrMin1 = dwPB + (DWORD)Bypass2nd; Patch((void *)(adrMin1),(void*)(PBYTE)"\x00\x00", 2); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 250; // x-coordinate of mouse const int CURSOR_Y = 350; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(175); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(175); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 786; // x-coordinate of mouse const int CURSOR_Y = 675; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(500); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(15); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 775; // x-coordinate of mouse const int CURSOR_Y = 680; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(500); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 775; // x-coordinate of mouse const int CURSOR_Y = 680; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(500); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 775; // x-coordinate of mouse const int CURSOR_Y = 680; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(500); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 775; // x-coordinate of mouse const int CURSOR_Y = 680; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(500); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 775; // x-coordinate of mouse const int CURSOR_Y = 680; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(500); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 775; // x-coordinate of mouse const int CURSOR_Y = 680; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(500); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 775; // x-coordinate of mouse const int CURSOR_Y = 680; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(500); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 775; // x-coordinate of mouse const int CURSOR_Y = 680; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(500); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 775; // x-coordinate of mouse const int CURSOR_Y = 680; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(500); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 775; // x-coordinate of mouse const int CURSOR_Y = 680; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(500); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 775; // x-coordinate of mouse const int CURSOR_Y = 680; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(500); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 775; // x-coordinate of mouse const int CURSOR_Y = 680; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(500); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 775; // x-coordinate of mouse const int CURSOR_Y = 680; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(500); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 875; // x-coordinate of mouse const int CURSOR_Y = 635; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(500); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(150); } } if(GetKeyState(VK_SCROLL) == 1) { { } { const int CURSOR_X = 767; // x-coordinate of mouse const int CURSOR_Y = 685; // y-coordinate of mouse SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(999); sleep(999); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(999); sleep(999); } } Sleep(5); // Berikan jeda } return (0); // unhook } BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) { if (dwReason == DLL_PROCESS_ATTACH) { DisableThreadLibraryCalls(hDll); if(dwReason == DLL_PROCESS_ATTACH){ MessageBox(0, "Story Nomor.1","CB Master", MB_TOPMOST); MessageBox(0, "Auto Story CB Master", "VIP Private Hack™", MB_OK); MessageBox(0, "JUST FOR FUN N MANY MORE", "VIP Private Hack™", MB_OK + MB_TOPMOST); CreateThread(0, 0, (LPTHREAD_START_ROUTINE)MemPacth, 0, 0, 0); //kuncinama char strDLLName [_MAX_PATH]; GetModuleFileName(hDll, strDLLName , _MAX_PATH); if (strstr(strDLLName, "CBMASTER.dll") <= 0) {//nama dll asli // tampilkan pesan, kalo dll nya sdh bukan asli / sudah di rename MessageBox(0, "Exit Process....!\nDebug 4361", "CB Master", MB_TOPMOST); ExitProcess(0);//ERROR } } else if(dwReason == DLL_PROCESS_DETACH) { } } return TRUE; }
0 komentar:
Posting Komentar