Cara Membuat Cheat Ayodance ( DLL ) With Source Code

12/08/12

Cara Membuat Cheat Ayodance ( DLL ) With Source Code


Cara Membuat DLL Ayodance With Source Code 
Di sini akan saya jelaskan bagai mana membuat dll menggunakan DevC++,
saya dapet sumber SC ini dapet dari Forum Tetangga.Net (Sudah saya edit dikit supaya
bisa Di Build), Dan ini berfungsi menggunakan Addres AOB karena banyak
menggunakan Addres, Disarankan Kalian mengguanakan Addres AOB ok dah
langsung aja kita mulai bagai mana cara membuat dll menggukan DevC++ :

Step 1:
Persiapkan Bahan Bahan nya :
Dev C++ 
Mengerti C++ (Kalo Ga ngerti Pasti Punyeng Belajar kaya gini)
Siap Kan Addres AOB Ayodancenya

Step 2:
[Image: safay.jpg]
Step 3:
Pastikan dll.h ya kalian Remove
[Image: safa1l.jpg]
Step 4:
Kalian Copy SC ini ke dllmain.cpp



#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>

#define OFS_PF 0x4E8436
#define OFS_PFBR 0x4E8430
#define OFS_BU 0x4FA451
#define OFS_OTP 0x4FBD43
#define OFS_PANG 0x4FC23C
#define OFS_PFBB 0x4FA818
#define OFS_INSANE 0xD851E6
#define OFS_MAP 0x851CE
#define OFS_SKIP 0xCC7C38
#define OFS_NPC 0xD851E4
#define OFS_SCORE 0x4E84D4

LPTSTR ModulGame = "Audition.exe";


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 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;
}
}
}
DWORD WINAPI MemPacth(LPVOID param)
{
while (1) {



if (GetAsyncKeyState(VK_F3)&1) {
MessageBeep(MB_ICONINFORMATION);
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA(ModulGame);
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)OFS_PF;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x00\x00\x00\x00\x7D\x3F\x33\x33", 8);
adrMin1 = dwPB + (DWORD)OFS_PFBR;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x99\x99\x99\x99", 4);
adrMin1 = dwPB + (DWORD)OFS_BU;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x14", 28);
adrMin1 = dwPB + (DWORD)OFS_OTP;
Patch((void *)(adrMin1),(void*)(PBYTE)"\xFF", 1);
adrMin1 = dwPB + (DWORD)OFS_PANG;
Patch((void *)(adrMin1),(void*)(PBYTE)"\xFF", 1);
adrMin1 = dwPB + (DWORD)OFS_PFBB;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x06\x00\x00\x00\x0A\x00\x00\x00", 8);
}
}
if (GetAsyncKeyState(VK_F4)&1) {
MessageBeep(MB_ICONINFORMATION);
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA(ModulGame);
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)OFS_PF;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x7D\x3F\x33\x33\x73\x3F\x9A\x99", 8);
adrMin1 = dwPB + (DWORD)OFS_PFBR;
Patch((void *)(adrMin1),(void*)(PBYTE)"\xEE\x7C\x7F\x3F\xA4\x70\x7D\x3F", 8);
adrMin1 = dwPB + (DWORD)OFS_BU;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x00\x00\x00\x0F\x00\x00\x00\x1B", 8);
adrMin1 = dwPB + (DWORD)OFS_OTP;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x3F\x1F\x85\x2B\x3F\xCD\xCC\xCC", 8);
adrMin1 = dwPB + (DWORD)OFS_PANG;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x05\x00\x00\x00\x11\x00\x00\x00", 8);
adrMin1 = dwPB + (DWORD)OFS_PFBB;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x46\x46\x00\x00\x0A\x00\x00\x00", 8);
}
}
if (GetAsyncKeyState(VK_F5)&1) {
MessageBeep(MB_ICONINFORMATION);
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA(ModulGame);
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)OFS_INSANE;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x01\x00\x00\x00\x00\x00\x00\x00", 8);
}
}
if (GetAsyncKeyState(VK_F6)&1) {
MessageBeep(MB_ICONINFORMATION);
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA(ModulGame);
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)OFS_INSANE;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x00\x00\x00\x00\x00\x00\x00\x00", 8);
}
}
if (GetAsyncKeyState(VK_F7)&1) {
MessageBeep(MB_ICONINFORMATION);
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA(ModulGame);
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)OFS_MAP;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x65\x00\x00\x00\x00\x00\x00\x00", 8);
}
}
if (GetAsyncKeyState(VK_F8)&1) {
MessageBeep(MB_ICONINFORMATION);
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA(ModulGame);
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)OFS_MAP;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x07\x00\x00\x00\x00\x00\x00\x00", 8);
}
}
if (GetAsyncKeyState(VK_RETURN)&1) {
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA(ModulGame);
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)OFS_SKIP;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x00\x00\x00\x00\x01\x00\x00\x00", 8);
}
}
if (GetAsyncKeyState(VK_F9)&1) {
MessageBeep(MB_ICONINFORMATION);
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA(ModulGame);
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)OFS_NPC;
Patch((void *)(adrMin1),(void*)(PBYTE)"\xF9\x00\x00\x00\x00\x00\x00\x00", 8);
}
}
if (GetAsyncKeyState(VK_F10)&1) {
MessageBeep(MB_ICONINFORMATION);
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA(ModulGame);
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)OFS_SCORE;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x80\x96\x98\x4A\x80\x96\x98\x4A", 8);
}
}
if (GetAsyncKeyState(VK_F11)&1) {
MessageBeep(MB_ICONINFORMATION);
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA(ModulGame);
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)OFS_SCORE;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x00\x00\x16\x44\x00\x80\x3B\x44", 8);
}
}
Sleep(5);
}
return (0);
}


BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
if (dwReason == DLL_PROCESS_ATTACH)
{
DisableThreadLibraryCalls(hDll);
if(dwReason == DLL_PROCESS_ATTACH){
MessageBox(0, "special thaks to:\nBLADESHARK\nSOPYAN CYBER\nARDY'S GODLIKE", "Copyright ~Hanggie-Defloeiner~", MB_OK + MB_ICONINFORMATION );
MessageBox(0, "Created By ~Hanggie-Defloeiner~", "Copyright ~Hanggie-Defloeiner~", MB_OK + MB_ICONINFORMATION );
MessageBox(0, "Visit : http://www.Hanggie-CheatAudi.blogspot.com", "Copyright ~Hanggie-Defloeiner~", MB_OK + MB_ICONINFORMATION );
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)MemPacth, 0, 0, 0);

char strDLLName [_MAX_PATH];
GetModuleFileName(hDll, strDLLName , _MAX_PATH);
if (strstr(strDLLName, "Hanggie Cheat.dll") <= 0) {

MessageBox(0, "Jangan Rename Woiii.....!!!", "PERHATIAN", 0);
ExitProcess(0);
}
}
else if(dwReason == DLL_PROCESS_DETACH)
{
}
}
return TRUE;
}

Step 5:
[Image: safa2.jpg]
Pastikan pada saaat Build seperti gambar di atas tidak ada error dan warnings ^^

Step 6
Jika berhasi seperti Step 5 Kalian Bisa Ambil Dll kalian yang berada di tempat kalian save SC nya yang kalian buat
[Image: safa3.jpg]
Step 7:
Pastikan Addres nya benar ^^
Moga ber Hasil Hilarious
Pastikan Addres Yang Kalian Masukan Benar Karena Addres Yang Sudah ada
adalah Addres lama Bisa kalian Ganti dengan Addres baru yang
menggunakan Addres AOB.

0 komentar:

Poskan Komentar