#include <windows.h>
#include <iostream>
void mainHack(); //prototypedir main fonk. altında esas fonk. tanımlayabiliriz
BOOL WINAPI DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpReserved)
{
if (dwReason == DLL_PROCESS_ATTACH) {
DisableThreadLibraryCalls(hModule);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)mainHack, NULL, NULL, NULL); //yeni bir thread oluşturur ve mainHack fonksiyonunu başlatır
}
else if (dwReason == DLL_PROCESS_DETACH) {
}
return TRUE;
}
void mainHack()
{
}
AllocConsole(); //Console ekranı açar
freopen("CONOUT$", "w", stdout); //std::cout kullanmamız için yetki verir
std::cout << "We Can Use Console For Debugging!\n"; //yazdırmak istediğimiz şeyi böyle yazdırabiliriz.
int x = 10; //x isimli bir değişken oluşturur ve içine 10 atar
int* pX; //integer bir pointer oluşturur
pX = &x; //pX pointerına x değişkeninin adresini atar.
std::cout << *pX; //pX adresinin referans ettiği ram kümesinin içindeki değeri gösterir.
DWORD * base = (DWORD*)0x50F4F4;
DWORD base = *(DWORD*)0x50F4F4;
std::cout << base;
DWORD * base = (DWORD*)0x50F4F4;
std::cout << *base;
void mainHack()
{
AllocConsole();
freopen("CONOUT$", "w", stdout);
std::cout << "We Can Use Console For Debugging!\n";
DWORD base = *(DWORD*)0x50F4F4;
std::cout << base;
}
DWORD * can = (base+0xF8)
*can = 150;
güzel çalışma olmuş fakat benim gibi hiç bişiden anlamayıp sadece hilleyi kulanan birileri için zor olacaktır
Katılıyorum Bende Pek Bşy Anlamıyorum Bi Ara Çok Uğraştım Kodlamayı Öğrenmeye Ama Bir Pok Anlamadım.güzel çalışma olmuş fakat benim gibi hiç bişiden anlamayıp sadece hilleyi kulanan birileri için zor olacaktır
dostum bu işi web tabanlı bir oyunda yapabilirmiyiz? yapabilirsek o oyundaki hp offset/pointer i nasıl buluruz ? darkorbit içinyani her şeyi elimden geldiğince 0 dan anlatmaya çalışıyorum istersen deneyebilirsin, yardım için burada olurum.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?