bongtrop / hbctool

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

The HBC version (84) is not supported. #12

Closed cryptobeat closed 1 year ago

cryptobeat commented 2 years ago

Add support for the latest Hermes.

ducan-ne commented 2 years ago

+1 for this

sgtfrankieboy commented 2 years ago

I was wondering if anyone is working on this atm? If not, how difficult would it be to implement?

onefreddy commented 2 years ago

I also encountered this error, if you need my bundle index.android.bundle-in-zip.zip

omarbdrn commented 2 years ago

+1 to this

niosega commented 2 years ago

As a very unstable and non-tested workaround, you can use my basic POC for version 84. It uses almost the same python source code as the 76 version and headers/def files from the original hermes source code (v0.10.0). It seems to work with basic bytecode.

You can find it here: https://github.com/niosega/hbctool/tree/draft/hbc-v84

I will maybe do more tests and create a proper Pull request in the future.

bongtrop commented 2 years ago

As a very unstable and non-tested workaround, you can use my basic POC for version 84. It uses almost the same python source code as the 76 version and headers/def files from the original hermes source code (v0.10.0). It seems to work with basic bytecode.

You can find it here: https://github.com/niosega/hbctool/tree/draft/hbc-v84

I will maybe do more tests and create a proper Pull request in the future.

Thank you for your helping. We're a bit busy right now. We will finish this issue soon.

davidtavarez commented 2 years ago

As a very unstable and non-tested workaround, you can use my basic POC for version 84. It uses almost the same python source code as the 76 version and headers/def files from the original hermes source code (v0.10.0). It seems to work with basic bytecode.

You can find it here: https://github.com/niosega/hbctool/tree/draft/hbc-v84

I will maybe do more tests and create a proper Pull request in the future.

tested; it worked. thank you!

aancw commented 2 years ago

As a very unstable and non-tested workaround, you can use my basic POC for version 84. It uses almost the same python source code as the 76 version and headers/def files from the original hermes source code (v0.10.0). It seems to work with basic bytecode.

You can find it here: https://github.com/niosega/hbctool/tree/draft/hbc-v84

I will maybe do more tests and create a proper Pull request in the future.

Tested and it worked on hbc 84. Hei @niosega, why not make the PR?

aancw commented 2 years ago

Hi,

I'm listed the commit tree url for every hermes byte code version for easy to search when need to make opcode data. https://github.com/bongtrop/hbctool/issues/17

lasting-yang commented 2 years ago

As a very unstable and non-tested workaround, you can use my basic POC for version 84. It uses almost the same python source code as the 76 version and headers/def files from the original hermes source code (v0.10.0). It seems to work with basic bytecode.

You can find it here: https://github.com/niosega/hbctool/tree/draft/hbc-v84

I will maybe do more tests and create a proper Pull request in the future.

I tested, running successfully.

mateosilguerolemon commented 2 years ago

@niosega I also tested your branch and it seems thats everything works fine :)

dhaneshnarmatha commented 2 years ago

For those who seek the solution, please refer #21

aancw commented 2 years ago

For those who seek the solution, please refer #21

The solution is already in above comment from @niosega. What we waiting for is owner merged the PR/patch to main repo.

bongtrop commented 2 years ago

As a very unstable and non-tested workaround, you can use my basic POC for version 84. It uses almost the same python source code as the 76 version and headers/def files from the original hermes source code (v0.10.0). It seems to work with basic bytecode.

You can find it here: https://github.com/niosega/hbctool/tree/draft/hbc-v84

I will maybe do more tests and create a proper Pull request in the future.

@niosega

Please create merge request to this repository. I will merge it asap.

CypherpunkSamurai commented 2 years ago

@niosega is it possible to add support for version 85 as well?

secureITmania commented 1 year ago

I made a docker image with x84 support, pull and use it guys.

https://hub.docker.com/r/secureitmania/hbctool-x84

niosega commented 1 year ago

OMG. I am so sorry. I missed all your messages ... I didn't get any notifications related to this issue.

I never worked again on React Native stuff since the day I created my fork... Until today :joy: . I noticed that the support for newest version of hermes has been merged upstream. Thanks a lot to everybody working on this very nice tool ! :heart: