A template for using Zyrox Obfuscator in a CMake project. (x86, Linux)
This is just a demo, and the code is dummy for test purposes.
It is intended to help anyone who wants to use Zyrox, but is unsure how to set it up with CMake or deal with build systems.
install llvm:
sudo apt update
sudo apt install llvm-18 llvm-18-dev clang-18git clone --recurse-submodules https://github.com/PeterHackz/zyrox-template.git
cd zyrox-templatecmake -S . -B build -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++There are 2 options:
-
Use a virtual environment (recommended):
# Create a virtual environment python3 -m venv .venv # Activate the env source .venv/bin/activate pip install -r deps/zyrox/requirements.txt
-
Install Globally:
pip install -r deps/zyrox/requirements.txt
Before compiling, if you installed requirements.txt in a virtual environment, make sure it is activated first. If not, activate it with:
source .venv/bin/activateFinally, build the project with:
cmake --build buildyep, that simple :)
The obfuscated output will be in template executable.
You can run it with:
chmod 755 template
./template- Discord:
@s.b - Email:
[email protected]or[email protected] - Discord Server