Code for bypass illegal software

Posts 1–10 of 10 · Page 1 of 1
Code for bypass illegal software
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;
Work for MAT ?? this for DLL or What ??
Quote Originally Posted by cannonpas View Post
good luck.

2 virus scan
Quote Originally Posted by cannonpas View Post
good luck.

2 Virus Scan lol
Hope u open dude need 2 virus scan
hrrm i compiled to DLL~Nice it work
Quote Originally Posted by astron51 View Post
hrrm i compiled to DLL~Nice it work
please video....if you work
Code patched/
/ closed
Posts 1–10 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us