prometheus-lua / Prometheus

Lua Obfuscator written in pure Lua
https://levno-710.gitbook.io/prometheus/
GNU Affero General Public License v3.0
233 stars 69 forks source link
lua lua51 luajit luau minification obfuscation obfuscator

:fire: Prometheus

Test

Description

Prometheus is a Lua obfuscator written in pure Lua.

This Project was inspired by the amazing javascript-obfuscator.
It can currently obfuscate Lua51 and Roblox's LuaU, however LuaU support is not finished yet.

You can find the full Documentation including a getting started guide here.

Prometheus has an official Discord server.

Installation

To install Prometheus, simply clone the Github Repository using:

git clone https://github.com/levno-710/Prometheus.git

Alternatively you can download the Sources here.

Prometheus also Requires LuaJIT or Lua51 in order to work. The Lua51 binaries can be downloaded here.

Usage

To quickly obfuscate a script:

lua ./cli.lua --preset Medium ./your_file.lua

When using the windows release:

prometheus.exe --preset Medium ./your_file.lua

For more advanced use cases see the Documentation.

Tests

To perform the Prometheus Tests, just run

lua ./tests.lua

Building

Prometheus can currently only build on Windows. It requires srlua.exe and glue.exe inside of the root directory. If lua51 was linked dynamically, lua51.dll must also be present. Then Prometheus for Windows can be built using

build.bat

This creates a folder named build, that contains prometheus.exe as well as everything that is needed in order to run Prometheus.
Then

prometheus.exe [options]

can be used instead of

lua ./cli.lua [options]

Credits

Contributors