Finished Hack Shield Bypass code
Credits to Some damn Noob
What it does is basically create a thread to inject instead of making your bypass auto active.
Place this anywhere in your code:
Code:
void HsBypass( void* pxAddress, BYTE *code, int size )//define virtual protect
{
unsigned long Protection;
VirtualProtect((void*)pxAddress, size, PAGE_READWRITE, &Protection);
memcpy((void*)pxAddress, (const void*)code, size);
VirtualProtect((void*)pxAddress, size, Protection, 0);
}
void CopyModules()//name can be anything just make sure its the same as it is in dll main
{
BYTE Artic66pwns[2] = {0xEB, 0xFE};
HsBypass((void*)0x4A9EF1,Artic66pwns,2);
HsBypass((void*)0x605493,Artic66pwns,2);
}
The bytes EB, FE jmp the jmp to both messages to themselves.
Actually works :P.
And underneath:
Code:
DLL_PROCESS_ATTACH
}
goes:
Code:
HANDLE hThread;
DWORD dwID;
hThread = CreateThread(0,0,(LPTHREAD_START_ROUTINE)CopyModules,0,0,&dwID);
CloseHandle(hThread);
I reccomend adding more addresses to it of course.
Do not leach this.
If you use this please Credit:
Everyone