Hermes/Dyforge is a program written in c++ allows you to inject a dll that can analyze all processes in a program, can be used for mod and reverse engeneering
| 1 | @echo off |
| 2 | setlocal enabledelayedexpansion |
| 3 | |
| 4 | :: Compiler settings |
| 5 | set CC=cl.exe |
| 6 | set CFLAGS=/nologo /W3 /O2 /D_CRT_SECURE_NO_WARNINGS /D_WIN32_WINNT=0x0601 |
| 7 | |
| 8 | :: Create output directory |
| 9 | if not exist bin mkdir bin |
| 10 | |
| 11 | :: Compile DyHexInject |
| 12 | echo Compiling DyHexInject... |
| 13 | %CC% %CFLAGS% /c DyHexInject.c /Fo:bin\DyHexInject.obj |
| 14 | if errorlevel 1 goto :error |
| 15 | |
| 16 | :: Compile example |
| 17 | echo Compiling example... |
| 18 | %CC% %CFLAGS% /c example.c /Fo:bin\example.obj |
| 19 | if errorlevel 1 goto :error |
| 20 | |
| 21 | :: Link DyHexInject |
| 22 | echo Linking DyHexInject... |
| 23 | %CC% %CFLAGS% bin\DyHexInject.obj /link /OUT:bin\DyHexInject.dll /DLL |
| 24 | if errorlevel 1 goto :error |
| 25 | |
| 26 | :: Link example |
| 27 | echo Linking example... |
| 28 | %CC% %CFLAGS% bin\example.obj /link /OUT:bin\example.exe |
| 29 | if errorlevel 1 goto :error |
| 30 | |
| 31 | echo Build completed successfully! |
| 32 | goto :end |
| 33 | |
| 34 | :error |
| 35 | echo Build failed! |
| 36 | exit /b 1 |
| 37 | |
| 38 | :end |
| 39 | endlocal |