tankslover420/moonsec-v3-deobfuscator
GitHub: tankslover420/moonsec-v3-deobfuscator
一个基于 Discord 机器人的 MoonSec V3 Lua 脚本反混淆工具,集成字节码提取、反编译和代码美化功能。
Stars: 0 | Forks: 0
# Moonsec 反混淆机器人
一个独立的 Discord 机器人,用于搞穿 moonsec v3 并获取其源代码
## 功能
- 🌙 MoonSec V3 反混淆
- ☕ unluac 字节码反编译
- ✨ 美化输出并提供整洁的变量名
- 📎 支持文件附件或代码块输入
- 🚀 带超时保护的快速处理
## 环境要求
- Node.js (v16+)
- Java (用于 unluac)
- Discord Bot Token
## 安装说明
1. 安装依赖:
```
npm install
```
2. 编辑 `bot.js` 并将 `YOUR_BOT_TOKEN_HERE` 替换为您实际的 Discord 机器人 Token。
3. 运行机器人:
```
node bot.js
```
或者使用启动脚本:
```
start.bat
```
## 使用说明
**命令:** `.deob` 或 `.deobfuscate`
**方式:**
1. 上传一个 `.lua` 文件并输入 `.deob`
2. 在代码块中包含代码:
```
.deob
```lua
your obfuscated code here
```
```
## 工作原理
1. **MoonsecDeobfuscator** extracts bytecode from MoonSec V3 obfuscated scripts
2. **unluac** decompiles the bytecode to readable Lua source code
3. **beautify.js** cleans up variable names and formats the output
## File Structure
```
MoonsecDeobfuscator-Bot/
├── bot.js # 主机器人文件
├── beautify.js # Lua 美化模块
├── unluac.jar # Java 字节码反编译器
├── package.json # 依赖
├── MoonsecDeobfuscator/ # Moonsec 反混淆可执行文件 + DLLs
│ ├── MoonsecDeobfuscator.exe
│ └── ... (其他必需的 DLLs)
└── temp/ # 临时文件(自动创建)
```
## Commands
- `.deob` / `.deobfuscate` - Deobfuscate a MoonSec V3 script
- `!help` - Show help message
- `!ping` - Check bot status
## 故障排除
**"Java not found" error:**
- Install Java from https://www.java.com/download/
- Make sure Java is in your system PATH
**"MoonsecDeobfuscator.exe not found" error:**
- Make sure the `MoonsecDeobfuscator` folder is present with all DLLs
**"unluac.jar not found" error:**
- Make sure `unluac.jar` is in the bot folder
## Credits
- MoonsecDeobfuscator by tupsutumppu goat
- unluac - Lua 5.1 decompiler
- i made other shit
btw this full readme was AI made cus my ass was lazy
To Use:
Install Node.js (if not already installed): https://nodejs.org/
Install dependencies:
cd "yourdrive:\MoonsecDeobfuscator-Bot"
npm install
Add your bot token in bot.js:
const TOKEN = "YOUR_ACTUAL_BOT_TOKEN_HERE";
Run the bot:
Double-click start.bat OR
Run: node bot.js
command in discord:
.deob
```
标签:Discord Bot, Discord 机器人, GNU通用公共许可证, JS文件枚举, Lua, Lua 字节码, MITM代理, MoonSec V3, Node.js, rizin, Roblox, unluac, URL提取, 云资产清单, 代码美化, 代码还原, 去混淆, 反混淆工具, 反编译, 游戏安全, 源码恢复, 网络安全, 脚本解密, 自定义脚本, 解混淆, 逆向工程, 隐私保护