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.
-- input.lua
local secret = "Prometheus"
local answer = 42
print(secret .. " -> " .. answer)-- (simplified) obfuscated output
local lI1I, O0O = "\80\114\111...", 0x2A
return (function(a, b)
local t = string.char
return print((a) .. " -> " .. b)
end)(decode(lI1I), O0O)To install Prometheus, simply clone the GitHub repository using:
git clone https://github.com/levno-710/Prometheus.gitAlternatively you can download the sources here.
Prometheus also Requires LuaJIT or Lua51 in order to work. The Lua51 binaries can be downloaded here.
To quickly obfuscate a script:
lua ./cli.lua --preset Medium ./your_file.luaFor more advanced use cases see the Documentation.
To perform the Prometheus Tests, just run
lua ./tests.luaPrometheus is licensed under the Prometheus License, a modified MIT-style license. You are free to use, modify, and distribute this software, including for commercial purposes, under the following conditions:
- Any commercial product, wrapper, or service (including SaaS or hosted solutions) that uses or integrates Prometheus must include clear attribution to:
Based on Prometheus by Elias Oelschner, https://github.com/prometheus-lua/Prometheus
- The attribution must be visible in the product’s UI, documentation, and public website.
- The obfuscated output files generated by Prometheus do not need to include any license or copyright notice.
- Derivative works and public forks must also include a statement in their README noting that they are based on Prometheus.
Full license text: Prometheus License
