# Vantyx Crypter Bot — Setup Instructions
## VT Score: 7/71 (static) | 2/15 (dynamic real-scan)

---

## Requirements
- Windows 10/11 x64
- Rust (install via https://rustup.rs — default options)
- MSVC Build Tools (install via https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022, select "Desktop development with C++")
- The .env file with your BOT_TOKEN from @BotFather

## Quick Setup
1. Extract VantyxCrypter.zip to any folder
2. Open PowerShell as Admin in that folder
3. Run: ./build.bat
4. Edit .env file — replace BOT_TOKEN with your Telegram bot token
5. Run: ./start.bat
6. Bot is live! Send /start in Telegram

## Detailed Steps

### Step 1: Install Rust
Open https://rustup.rs — download rustup-init.exe — run it — choose option 1 (default). Close and reopen terminal after install.

### Step 2: Install MSVC Build Tools  
Open https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022
Download "Build Tools for Visual Studio 2022", run it, check:
  ☑ Desktop development with C++
Click Install. Wait ~10 min.

### Step 3: Extract and Build
Extract VantyxCrypter.zip to a folder (e.g. C:\Vantyx\)
Open PowerShell in that folder:
  cd C:\Vantyx\VantyxCrypter
  cargo build --release
Wait ~5 minutes for first build.

### Step 4: Configure Bot
Open .env file in Notepad:
  BOT_TOKEN=YOUR_TOKEN_HERE
  RUST_LOG=error
Get your token from @BotFather on Telegram.

### Step 5: Deploy Cert (for signing)
Open PowerShell as Admin:
  $pwd = ConvertTo-SecureString "crypter123" -AsPlainText -Force
  Import-PfxCertificate -FilePath "tools\selfsign.pfx" -CertStoreLocation Cert:\CurrentUser\My -Password $pwd

### Step 6: Start Bot
  cargo run --release
Or double-click start.bat

### Using the Bot
1. In Telegram, send /start to your bot
2. Send /best for Best Combo settings  
3. Upload your .exe file
4. Bot returns crypted file in ~1 second

### CLI Mode (no Telegram)
  cargo run --release -- --crypt input.exe output.exe

---

## Files in this backup
- bot/src/         — Bot source code (Rust)
- stub/src/        — Stub source code (Rust)  
- target/release/  — Pre-compiled binaries
  - crypter-bot.exe   — The Telegram bot
  - stub.exe          — The pre-compiled carrier
- .env             — Bot token config (edit this!)
- keys.json        — License keys
- configs.json     — User configs
- tools/           — Self-signed cert (selfsign.pfx), Phantom source, VX crypter source
- build.bat        — One-click build script
- start.bat        — One-click start script

## Troubleshooting
- "MSVC Build Tools not found" → Install Step 2
- "cannot find stub" → Run `cargo build --release` first
- "BOT_TOKEN not set" → Edit .env file
- Bot sends 2 files → Restart the bot
- Want to rebuild stub: `cd stub && cargo build --release`

## Best Combo Settings (for 7/71)
In Telegram send: /best
This enables: Rust stub carrier + ADD/SUB cipher + resource embedding

---

Built July 2026. Journey: 27/70 → 7/71 VT static.
Dynamic: beats 13/15 including Windows Defender, Kaspersky, Bitdefender.
