Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PY44N/LuaObfuscatorV2
A program that obfuscates Lua programs so no one can steal your source code
https://github.com/PY44N/LuaObfuscatorV2
Last synced: 5 days ago
JSON representation
A program that obfuscates Lua programs so no one can steal your source code
- Host: GitHub
- URL: https://github.com/PY44N/LuaObfuscatorV2
- Owner: PY44N
- Created: 2022-10-01T18:57:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-30T02:55:01.000Z (12 days ago)
- Last Synced: 2024-10-30T05:14:06.063Z (12 days ago)
- Language: Lua
- Homepage:
- Size: 18.8 MB
- Stars: 63
- Watchers: 2
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lua Obfuscator V2
This project is still a work in progress, so things may not work
Please download the latest release if you are trying to run the code
[Roadmap](https://pyan.notion.site/014c3553be6b45d1989e1e133ec2c424?v=acc453043e2844728d3db628693c100d)
## Example
Input
```lua
print("Hello World")
```[Output](https://raw.githubusercontent.com/PY44N/LuaObfuscatorV2/master/Example.lua)
## How to use
### Required programs
- [Nodejs](https://nodejs.org/en)
- Lua 5.1 [windows](https://github.com/rjpcomputing/luaforwindows/releases/), [macos (with homebrew)](https://formulae.brew.sh/formula/[email protected]#default), Linux (lua5.1 on most package managers)### Running the latest release (windows only)
1) The [Latest Release](https://github.com/PY44N/LuaObfuscatorV2/releases/)2) Open the terminal in the unzipped directory
3) Install the required nodejs packages
```
cd minifier && npm i && cd ..
```4) Put the code you wish to obfuscate into a file
5) Run the executable
```
./lua_obfuscator.exe ./YOURFILE.lua
```### Building from source (may not work)
1) Download [Rust](https://www.rust-lang.org/)2) Clone the repo
```
git clone https://github.com/PY44N/LuaObfuscator/
```3) Enter the directory
```
cd LuaObfuscator
```4) Install the required nodejs packages
```
cd minifier && npm i && cd ..
```5) Put the code you wish to obfuscate into a file
6) Run the project using cargo
```
cargo run -- --file YOURFILE.lua
```## Related Repos
[Lua Deserializer](https://github.com/PY44N/LuaDeserializer/) - A library for reading in a serialized Lua binary written for this project[luamin](https://github.com/mathiasbynens/luamin) (by Mathias Bynens) - A Lua minifier written in Javascript that is being used as a temporary solution until the [minification rework](https://pyan.notion.site/014c3553be6b45d1989e1e133ec2c424?v=acc453043e2844728d3db628693c100d&p=597187d43f014c02b3f61fb70aaed968&pm=s)
[FiOne](https://github.com/Rerumu/FiOne/blob/master/source.lua) (by Rerumu) - Lua bytecode interpreter