Skip to content

Latest commit

 

History

History
84 lines (54 loc) · 1.57 KB

File metadata and controls

84 lines (54 loc) · 1.57 KB

Zyrox Template

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.

Prerequisites

install llvm:

sudo apt update
sudo apt install llvm-18 llvm-18-dev clang-18

Usage

Clone The Repository

git clone --recurse-submodules https://github.com/PeterHackz/zyrox-template.git
cd zyrox-template

Initialize CMake

cmake -S . -B build -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++

Setup Python

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

Compile The Project

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/activate

Finally, build the project with:

cmake --build build

yep, that simple :)

The obfuscated output will be in template executable.

You can run it with:

chmod 755 template
./template

Contacts

  • Discord: @s.b
  • Email: mail@peterr.dev or me@peterr.dev
  • Discord Server