Skip to content

Latest commit

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

SourceVault PHP Decoder

API-based PHP deobfuscator — download, configure, and run. No build required.

TelegramPlatformPHP


What it does

Drop encoded / obfuscated PHP files into the encoded/ folder, run the binary, and get clean decoded files in decoded/ — preserving the full directory tree.

encoded/
├── index.php ← obfuscated
└── app/
└── core.php ← obfuscated
↓ decoder --php 8.1 ↓
decoded/
├── index.php ✓ decoded
└── app/
└── core.php ✓ decoded

Download

Pre-compiled static binaries — no installation, no dependencies. Download the file for your platform, make it executable, and run it.

Latest release

PlatformArchitectureDownload
Windowsx64 (64-bit)decoder-windows-x64.exe.zip
Windowsx86 (32-bit)decoder-windows-x86.exe.zip
WindowsARM64decoder-windows-arm64.exe.zip
Linuxx64 (64-bit)decoder-linux-x64.zip
Linuxx86 (32-bit)decoder-linux-x86.zip
LinuxARM64 / Androiddecoder-linux-arm64.zip
LinuxARM32decoder-linux-arm32.zip
LinuxMIPS little-endiandecoder-linux-mipsle.zip
LinuxMIPS big-endiandecoder-linux-mips.zip
LinuxMIPS64 LEdecoder-linux-mips64le.zip
LinuxMIPS64 BEdecoder-linux-mips64.zip
LinuxRISC-V 64decoder-linux-riscv64.zip
LinuxPowerPC 64 LEdecoder-linux-ppc64le.zip
LinuxPowerPC 64decoder-linux-ppc64.zip
Linuxs390x (IBM Z)decoder-linux-s390x.zip
macOSIntel (x64)decoder-macos-x64.zip
macOSApple Silicon (ARM64)decoder-macos-arm64.zip
FreeBSDx64decoder-freebsd-x64.zip
FreeBSDARM64decoder-freebsd-arm64.zip
NetBSDx64decoder-netbsd-x64.zip
OpenBSDx64decoder-openbsd-x64.zip
Solarisx64decoder-solaris-x64.zip
Plan 9x64decoder-plan9-x64.zip
WebAssemblyWASIdecoder-wasip1.wasm.zip
📦 All platformscombined bundledecoder-bundle.zip

Quick Start

Step 1 — Download & extract

Windows (PowerShell)

# DownloadInvoke-WebRequest-Uri "https://github.com/source-vault/sourceguardian_decoder/raw/refs/heads/main/decoders/decoder-windows-x64.exe.zip"-OutFile decoder.zip
Expand-Archive decoder.zip .

Linux / macOS (bash)

# Download
curl -L "https://github.com/source-vault/sourceguardian_decoder/raw/refs/heads/main/decoders/decoder-linux-x64.zip" -o decoder.zip
unzip decoder.zip
chmod +x decoder-linux-x64

Step 2 — Create config.ini

Create a file named config.ini in the same directory as the binary:

# SourceVault PHP Decoder — configapi_key=YOUR_API_KEY_HERE
telegram_id=@your_telegram_id

Get your API key → join @source_vault on Telegram.

Step 3 — Put encoded files in encoded/

The encoded/ and decoded/ directories are created automatically on first run. Just copy your obfuscated PHP files there — subdirectories are fully supported.

your-folder/
├── decoder.exe (or decoder-linux-x64, decoder-macos-arm64 …)
├── config.ini
├── encoded/
│ └── your-files.php
└── decoded/ ← created automatically

Step 4 — Run

# Default PHP version (7.4)
./decoder
# Specify PHP version
./decoder --php 8.1
./decoder -p 5.6
# Help
./decoder --help

Supported PHP Versions

RangeVersions
PHP 4.x4.04.14.24.34.4
PHP 5.x5.05.15.25.35.45.55.6
PHP 7.x7.07.17.27.37.4
PHP 8.x8.08.18.28.38.48.5

Default version: 7.4


Usage Reference

Usage: decoder [--php <version>] [-p <version>] [--help]
Options:
--php, -p <ver> PHP version to use for decoding
Supported: 4.0-4.4, 5.0-5.6, 7.0-7.4, 8.0-8.5
Default : 7.4
--help, -h Show this help message

Example output

================================================
SourceVault PHP Decoder | PHP 8.1
================================================
[*] Source : encoded/
[*] Output : decoded/
[*] PHP ver : 8.1
[1] encoded/index.php
[OK] -> decoded/index.php
[2] encoded/app/core.php
[OK] -> decoded/app/core.php
[3] encoded/old/legacy.php
[ERR] HTTP 400 — unsupported encoding format
================================================
Done! Total: 3 | OK: 2 | Failed: 1
================================================

Error Reference

ErrorMeaning
Config file 'config.ini' not foundCreate config.ini next to the binary
api_key not foundAdd api_key=... to config.ini
invalid api_key (HTTP 403)Your key is wrong or expired — get a new one from @source_vault
unauthorized (HTTP 401)Key present but rejected — check for typos
HTTP 400File format not recognized by the API
HTTP request failedNetwork error — check internet connection
empty response from APIAPI returned no content — try again

Exit Codes

CodeMeaning
0All files decoded successfully
1Configuration or argument error
2One or more files failed to decode

API

Endpointhttps://api.sourcevault.eu.cc/decode
MethodPOST multipart/form-data
AuthAuthorization: Bearer <api_key>
Fieldsfile (binary), php_version (string), telegram_id (string, optional)

Support & API Key

Join the Telegram channel to get your API key and report issues:

@source_vault


SourceVault PHP Decoder — pre-built static binaries, no source required