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
print("Hello, World!");-- input.obfuscated.lua
return(function(...)local L={"afT6mf1V","/7mJXsuvmE1c/fT3";"tn1ZSn6=","37ghSJM=";"WqermfWAWuuZpb3XX7M=","tqXGSJ3u","XQXpL9x21dxAWJa//p==","SrM=";"3q+5SJM=","/D==";"t7XUt0p=";"mIeOmIx9";"LdgrBfWdWuNABsb+KJxj","SJWJ4dahKsebW7t+KQv=","/cDu3AvP/D==";"Llv7uD==","tJWhFfTE";"TQ43ctIuy9HIop==","mEu93p==";"WJax1sXEXEaxWuxGt6==","t0gPSEp=",...
-- remaining obfuscated output omittedTo install Prometheus, simply clone the GitHub repository using:
git clone https://github.com/prometheus-lua/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
