mirror of
https://github.com/endgameinc/ClrGuard
synced 2026-06-08 14:03:01 +00:00
21 lines
460 B
C++
21 lines
460 B
C++
#include <windows.h>
|
|
#include <stdio.h>
|
|
|
|
void ReflectionLoad(wchar_t * filePath, int version);
|
|
|
|
int main()
|
|
{
|
|
|
|
HMODULE hClrHook = LoadLibrary(L"ClrHook.dll");
|
|
|
|
/*
|
|
#ifdef _WIN64
|
|
HMODULE hClr = LoadLibrary(L"C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\clr.dll");
|
|
#else
|
|
HMODULE hClr = LoadLibrary(L"C:\Windows\Microsoft.NET\Framework\v4.0.30319");
|
|
#endif
|
|
*/
|
|
ReflectionLoad(L"InjectExample.exe", 4);
|
|
|
|
return 0;
|
|
} |