Work for MAT ?? this for DLL or What ??
I hope that pro can make this hack ....
#include <windows.h>
#include <stdio.h>
BYTE Bypass[7] = {0x73, 0x1E, 0x68, 0x00, 0x00, 0x04, 0x00}; //Byte ON Bypass
BYTE Bypass2[7] = {0x74, 0x1E, 0x68, 0x00, 0x00, 0x04, 0x00}; //Byte OFF Bypass
DWORD EasTern = 0;
LPTSTR COD = "MAT.exe"; // Target game
void Patch(void *adr, void *ptr, int size)
{
DWORD NewProtection;
VirtualProtect(adr,size,PAGE_EXECUTE_WRITECOPY, &NewProtection);
memcpy(adr,ptr,size);
VirtualProtect(adr,size,NewProtection, &NewProtection);
}
DWORD WINAPI LoopFunction(LPVOID param)
{
while (1) {
if(GetAsyncKeyState(VK_HOME)&1)//Home Hotkey
{
DWORD Maho = (DWORD)GetModuleHandleA(COD);
{
if (Maho > 0) {
EasTern = Maho + 0x266E76; // Pointer Bypass
Patch((void *)(EasTern),(void*)(PBYTE)Bypass2, 7); //Byte ON Bypass
Sleep(100);
Patch((void *)(EasTern),(void*)(PBYTE)Bypass, 7); // Byte OFF Bypass
}
Sleep(10);
}
}
}
return (0);
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) //DLL Main
{
// ngurangin beban kerja dll
DisableThreadLibraryCalls(hDll);
if (dwReason == DLL_PROCESS_ATTACH) {
CreateThread(0, 0, LoopFunction, 0, 0, 0);
}
return TRUE;
Leecher-0
choob-25
Newbie-50
Advanced Member-100
Dual-Keyboard Member-150
Expert Member-200
Bobo's Trainer-250
MPGH Expert-300
Never stop Hacking
Work for MAT ?? this for DLL or What ??
Give me a Thanks if i HELP !
Making a Hack ! :
Injector : Done
Chams : In Progress
Wallhack : Done
Wireframe : Not Done
D3D Menu : Done
Loader : Done
Trainer : Done
Need Help on someone that good at C++ !
Sorry if i make Mistake !!
200 Thanks :
500 Thanks : /me
800 Thanks :
1000 Thanks :
misslui22 (03-27-2013)
Hack Forever
Hack For Fun!! Go!! Hack!! GO! GO!! Hack!!
[IMG]https://i1137.photobucke*****m/albums/n514/duz32145/12_4_20Member201.png[/IMG][IMG]https://i1153.photobucke*****m/albums/p508/faizpunk/GambarAnimasiLucu5.gif[/IMG]Die!!Die!! You Mother Fucker
Hope u open dude need 2 virus scan
_________________________
hrrm i compiled to DLL~Nice it work
Code patched/
/ closed