Seregon/Hermes

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

C/3.8 KB/No license
DyHexInject/build.bat
Hermes / DyHexInject / build.bat
1@echo off
2setlocal enabledelayedexpansion
3 
4:: Compiler settings
5set CC=cl.exe
6set CFLAGS=/nologo /W3 /O2 /D_CRT_SECURE_NO_WARNINGS /D_WIN32_WINNT=0x0601
7 
8:: Create output directory
9if not exist bin mkdir bin
10 
11:: Compile DyHexInject
12echo Compiling DyHexInject...
13%CC% %CFLAGS% /c DyHexInject.c /Fo:bin\DyHexInject.obj
14if errorlevel 1 goto :error
15 
16:: Compile example
17echo Compiling example...
18%CC% %CFLAGS% /c example.c /Fo:bin\example.obj
19if errorlevel 1 goto :error
20 
21:: Link DyHexInject
22echo Linking DyHexInject...
23%CC% %CFLAGS% bin\DyHexInject.obj /link /OUT:bin\DyHexInject.dll /DLL
24if errorlevel 1 goto :error
25 
26:: Link example
27echo Linking example...
28%CC% %CFLAGS% bin\example.obj /link /OUT:bin\example.exe
29if errorlevel 1 goto :error
30 
31echo Build completed successfully!
32goto :end
33 
34:error
35echo Build failed!
36exit /b 1
37 
38:end
39endlocal