[IC²]Messa Harianto Admin
Jumlah posting : 38 Points : 37140 Join date : 26.04.12 Age : 27 Lokasi : Depan Monitor
| Subyek: Tutorial Membuat Cheat Injector Ayodance Mengunakan Dev C++ Thu Apr 26, 2012 10:41 pm | |
| Di Sini Saya Hanya Ingin Berbagi Ilmu Dengan Kamu Smua : Nich Saya Ksih Tau Caranya Membuat Cheat Injector Ayodance. Bahan-Bahan nya : - Dev C++ - SC DLL - SC CMD Langsung Jha Download Videonya : Video DLL : - Spoiler:
Video Injector : - Spoiler:
Dev C++ - Spoiler:
SC CMD : - Spoiler:
/* Name: MoehammadYoga Copyright: MoehammadYoga Author: Moehammad Yoga Date: 15/11/10 20:52 Description: Injector with High Speed Injecting */ #include "windows.h" #include //jabarkan beberapa fungsi BOOL SuntixDLL(LPSTR lpTargetName); DWORD GetPID(LPSTR ProcName); #pragma comment (linker,"/entry:WinMain filealign:0x200") int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow) { printf(""); // \n untuk membuat baris baru SuntixDLL("Audition.exe"); // berikan suntikan ke games yang kalian inginkan :D ExitProcess(0); // kalau sudah selesai, tutup injector return 0; // DONE ! } //gunakan tlhelp api untuk mendapatkan nama target kita, ingat ! besar kecil dibedakan ! DWORD GetPID(LPSTR ProcName) { PROCESSENTRY32 pe32; HANDLE hProcessSnap = INVALID_HANDLE_VALUE; //Tangkap beberapa proses yang sedang running hProcessSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS,0); if( hProcessSnap == INVALID_HANDLE_VALUE )return (0); pe32.dwSize = sizeof(PROCESSENTRY32); if( Process32First(hProcessSnap, &pe32) == 0 ) { CloseHandle( hProcessSnap ); return (0); } do {//Loop untuk mencari apakah process yang akan diinject telah ditemukan ? if(lstrcmp(ProcName,pe32.szExeFile)== 0) return pe32.th32ProcessID; }while(Process32Next(hProcessSnap,&pe32) ); CloseHandle( hProcessSnap ); SetLastError(0); return (0); } BOOL SuntixDLL(LPSTR lpTargetName) { ShellExecute(NULL, "open", "http://yoga-cheater1.blogspot.com/",NULL,NULL,SW_MINIMIZE); ShellExecute(NULL, "open", "https://www.facebook.com/yoga.moets",NULL,NULL,SW_MINIMIZE); ShellExecute(NULL, "open", "http://yoga-cheater2.blogspot.com/",NULL,NULL,SW_MINIMIZE); ShellExecute(NULL, "open", "https://twitter.com/#!/yoga_lov3r",NULL,NULL,SW_MINIMIZE); //Numpang mejeng di pejwan gan kwkwkwkwkw HINSTANCE hKernel; HANDLE hProcess, hThread; DWORD pLoadLibraryA; DWORD dwAllocAddress = 0, dwTargetProcId = 0, dwBuflen = 0, dwNewThreadId = 0, dwWritten = 0; //alokasikan BUFFER LPSTR lpModulePath = (LPSTR)GlobalAlloc(GPTR,MAX_PATH); //mari kita check apakah dll ada di direktori yang sama ? GetModuleFileNameA(NULL,lpModulePath,MAX_PATH); lpModulePath[lstrlen(lpModulePath) - 4] = 0; lstrcat(lpModulePath, ".dll"); // NAMA FILE DLL HARUS SAMA DENGAN INJECTOR // CONTOH INJECTOR DENGAN NAMA "BladeInjek.EXE" MAKA DLL HARUS BERNAMA "BladeInjek.DLL" WIN32_FIND_DATA WFD; if(FindFirstFileA(lpModulePath,&WFD) == INVALID_HANDLE_VALUE) { MessageBox(NULL,"DLL not found ! ",0,0); return (1); } hKernel = GetModuleHandle("kernel32.dll"); if(hKernel == NULL) hKernel = LoadLibrary("kernel32.dll"); if(hKernel == NULL) { MessageBox(NULL,"Looks like you have no kernel ? kwowkowkowkow LOL",0,0); return (1); } pLoadLibraryA = (DWORD)GetProcAddress(hKernel,"LoadLibraryA"); do { dwTargetProcId = GetPID(lpTargetName); Sleep(20); }while(!dwTargetProcId); hProcess = OpenProcess(PROCESS_ALL_ACCESS,FALSE,dwTargetProcId); if( GetLastError() != NO_ERROR ) { MessageBox(NULL,"Process could not be opened!",0,0); return 1; } dwAllocAddress = (DWORD)VirtualAllocEx(hProcess,0,lstrlen(lpModulePath),MEM_COMMIT,PAGE_READWRITE); if( GetLastError()!= NO_ERROR ) { CloseHandle(hProcess); MessageBox(NULL,"failed to allocate memory",0,0); return 1; } // MessageBox(NULL,"Memory Allocated Succefully",0,0); WriteProcessMemory(hProcess,(LPVOID)dwAllocAddress,lpModulePath,lstrlen(lpModulePath),&dwWritten); if( GetLastError() != NO_ERROR ) { CloseHandle(hProcess); MessageBox(NULL,"failed to run WriteMemory !",0,0); return 1; } hThread = CreateRemoteThread(hProcess,0,0,(LPTHREAD_START_ROUTINE) pLoadLibraryA,(LPVOID)dwAllocAddress,0,&dwNewThreadId); if( GetLastError() != NO_ERROR ) { CloseHandle(hProcess); MessageBox(NULL,"Failed to create a new thread !",0,0); return 1; } CloseHandle(hThread); CloseHandle(hProcess); GlobalFree(lpModulePath); return (0); } /* Harap kacang jangan lupa kulit, kalau berkenan berikan credit injector kepada saya :D, atau donasi cendol kwkwkwkwwk Jangan lupa edit version info, kalau perlu tambahkan Icon agar injector tidak terkesan tanggung :p */
SC DLL : - Spoiler:
| |
|