अपडेट पर वापस जाएँ
New releaseSep 10, 2026

hermes-decomp v0.2.3

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

साझा करें

Hermes Bytecode Decompiler

Build

Hermes bytecode (.hbc) के लिए Rust डीकंपाइलर, जो React Native के पीछे का JS इंजन है। HBC 40 से 99 तक समर्थित है।

इंस्टॉल

Releases या Actions से पहले से बने बाइनरीज़ (Linux / macOS / Windows):

Asset suffixPlatform
linux-x86_64 / linux-arm64Linux
macos-arm64 / macos-x86_64macOS
windows-x86_64Windows

आर्काइव में 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"

Disassembly Example

Decompilation Example

यह क्या करता है

AreaCommands (highlights)
Readinfo, disasm, decompile, tui, extract, modules, deps
Analyzexref, callgraph, graphviz, closures, debug, dump, bin-diff
RE helperssecrets, 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 और लाइब्रेरी

cargo build --release -p hbc-decomp-mcp

योगदान

देखें CONTRIBUTING.md। कृपया PR से पहले एक issue खोलें।

cargo build --release --workspace && cargo test --workspace

संसाधन

लाइसेंस

MIT. देखें LICENSE।

श्रेणियाँ