
New releaseSep 10, 2026
hermes-decomp v0.2.3
एक शक्तिशाली डीकंपाइलर जो आपको React Native मोबाइल ऐप्स को रिवर्स-इंजीनियर करने की अनुमति देता है, उनकी संकलित Hermes बाइटकोड (.hbc) फ़ाइलों को वापस पढ़ने योग्य JavaScript में परिवर्तित करके।

Hermes bytecode (.hbc) के लिए Rust डीकंपाइलर, जो React Native के पीछे का JS इंजन है। HBC 40 से 99 तक समर्थित है।
इंस्टॉल
Releases या Actions से पहले से बने बाइनरीज़ (Linux / macOS / Windows):
| Asset suffix | Platform |
|---|---|
linux-x86_64 / linux-arm64 | Linux |
macos-arm64 / macos-x86_64 | macOS |
windows-x86_64 | Windows |
आर्काइव में hermes-decomp और hermes-mcp शामिल हैं। सत्यापित करें: shasum -a 256 -c SHA256SUMS.
hermes-decomp update --check # or --install / --version v0.1.7
सोर्स से (Rust 1.70+):
git clone https://github.com/SymbioticSec/hermes-decomp.git
cd hermes-decomp && cargo build --release
# → target/release/hermes-decomp target/release/hermes-mcp
त्वरित शुरुआत
hermes-decomp info app.hbc
hermes-decomp disasm app.hbc --function 5 --info --show-offsets
hermes-decomp decompile app.hbc -o out.js # progress on stderr
hermes-decomp decompile app.hbc --deep -o out.js # recover more names, slower
hermes-decomp decompile app.hbc --function 42
hermes-decomp tui app.hbc
hermes-decomp xref app.hbc --query "loginWithToken"


यह क्या करता है
| Area | Commands (highlights) |
|---|---|
| Read | info, disasm, decompile, tui, extract, modules, deps |
| Analyze | xref, callgraph, graphviz, closures, debug, dump, bin-diff |
| RE helpers | secrets, frida-hooks |
| Write (bytecode only) | emit-hasm, asm, asm-check, patch-string, patch-function, inject-stub, create |
पूर्ण फ़्लैग और उदाहरण → docs/USAGE.md।
नोट्स:
- पूर्ण-बंडल
decompileतेज़ रीलोड के लिए डिस्क पर मौजूद.hdcacheका उपयोग करता है। बाध्य करने के लिए--no-cacheपास करें। - Write टूल्स bytecode / HASM को पैच करते हैं। वे डीकंपाइल किए गए JavaScript को दोबारा कंपाइल नहीं करते।
decompile -o …पाइपलाइन चरणों को stderr पर प्रिंट करता है।
MCP और लाइब्रेरी
- AI सहायकों के लिए MCP सर्वर (
hermes-mcp) → docs/MCP.md
कॉन्फ़िग टेम्पलेट:mcp-config.example.json - Rust crate
hbc-decomp→ docs/LIBRARY.md
cargo build --release -p hbc-decomp-mcp
योगदान
देखें CONTRIBUTING.md। कृपया PR से पहले एक issue खोलें।
cargo build --release --workspace && cargo test --workspace
संसाधन
लाइसेंस
MIT. देखें LICENSE।