Skip to content

PeterHackz/zyrox-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published