12/08/12
Bahan Bahan :
- Dev C++
- Source Code Injector
Langkah - Langkahnya :
SAMA SEPERTI BIKIN DLL.!!
maaf nggak ada SS nya, koneksi lemot!!
- Buka Dev C++
- Klik File -> New -> Project
- Pilih Empty Project
- Beri Nama Project [ Nama Injector nya ]
- Pilih C Project
- Save Di Tempat Yang anda Ingin Kan
- Pencet CTRL + N .
- Klik Yes
- Pencet ALT + P
- Type di Ubah Win32 Console
- Jika Ingin Di Beri Icon Tinggal Klik Browser
- Jika Sudah Di beri Icon dan Di ubah Typenya Klik OK
- Lalu Masukan Source Code Ini
#include "windows.h"
#include <tlhelp32.h>
//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("--------------------------Ayodance Hack--------------------------\n\n<*> Visit Us : www.Hanggie-CheatAudi.blogspot.com\n<*> Audition Hack\n-------------------------------------------------------------------------------\n\nFitur : HotKey :\n\nPF All Mode Hack On = ------------------------------ F3\nPF All Mode Hack Off = ----------------------------- F4\nHack insane On = ----------------------------------- F5\nHack insane Off = ---------------------------------- F6\nHack Club MG = ------------------------------------- F7\nHack Haunted School = ------------------------------ F8\nHack Score On = ------------------------------------ F9\nHack Score Off = ----------------------------------- F10\nSkip Pin 2nd = ------------------------------------- AUTO\n\n<*> Copy Right : ~Hanggie-Defloeiner~ \n_______________________________________________________________________________"); // \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://Hanggie-CheatAudi.blogspot.com",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
*/
- Jika Sudah Di Masukan
- Klik Execute
- Pilih Rebuild all
- Jika ada Error di Line 2 Atau Line 4
- Biarkan Saja
===================================================
//* NB : TEKS YG BERWARNA MERAH BISA DI GANTI DENGAN FITUR
dan Cara Membuat Jarak Atau Ke Bawah [ Enter ]
Gunakan Code \n
Contoh
<=> CHEAT Ayodance v.6076 [PREMIUM]\n=========================\n\n <=> PERFECT All Mode = ON : F3 , OFF : F4
Lambang \n yang Berwarna Merah Untuk Membuat Jarak Seperti Ini
<=> CHEAT Ayodance v.6076 [PREMIUM]
=========================
<=> PERFECT All Mode = ON : F3 , OFF : F4
\n = 1 Jarak
\n\n = 2 Jarak
1 komentar:
Cara Mencari Browse nya di mana ya sorry newbie
Posting Komentar