Decompile a Hermes React Native Binary
adb shell pm list packages | grep <app_name>
adb shell pm path <package_name>
adb pull /data/app/<package_name>-<random>/base.apk .apktool d base.apk -o output_foldercd output_folder/assets/ lsfile index.android.bundlegit clone https://github.com/cognisys/hermes-dec.git cd hermes-dec pip3 install -r requirements.txtpython3 hbc_disassembler.py ../index.android.bundle disasm_outpython3 hbc_decompiler.py ../index.android.bundle decompiled_outnpx prettier --write decompiled_out/*.js
Last updated