bongtrop / hbctool

Hermes Bytecode Reverse Engineering Tool (Assemble/Disassemble Hermes Bytecode)
MIT License
444 stars 71 forks source link

AssertionError: The HBC version (85) is not supported. #41

Open 0xS4D opened 8 months ago

0xS4D commented 8 months ago

[*] Disassemble '.\index.android.bundle' to '.\output\' path Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Python311\Scripts\hbctool.exe__main.py", line 7, in File "C:\Python311\Lib\site-packages\hbctool\init.py", line 61, in main disasm(args[''], args['']) File "C:\Python311\Lib\site-packages\hbctool\init.py", line 33, in disasm hbco = hbc.load(f) ^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\hbctool\hbc\init__.py", line 29, in load assert version in HBC, f"The HBC version ({version}) is not supported." ^^^^^^^^^^^^^^ AssertionError: The HBC version (85) is not supported.

jamesmacwhite commented 8 months ago

Use a fork which has the bytecode version implemented e.g. https://github.com/gilcu3/hbctool