ohre is a analyze and reverse tool of HarmonyOS APP package.
Project description
OHRE
A Open HarmonyOS app/hap package analyze and REverse tool, compatible with HarmonyOS NEXT. Maybe pronounced like "ōli".
tag: HarmonyOS, Open HarmonyOS, HarmonyOS NEXT, 鸿蒙 OS, hap, app
Features
OHRE is a full python3 tool to play with HarmonyOS .app and .hap files.
- .app
- .hap
- pack.json
- module.json
- white/black pattern of file names in specific path
- yara rules
- resources.index
- .so (in progress)
- .abc (in progress)
Because it is still under testing, the debug log will be placed in
pwdby default, which is one of the requirements for creating a new issue.
Installation
As far as we know ohre is platform-independent, which means it can be used under Windows, Linux, and macOS with any CPU architecture.
pip install ohre # install from pip # for all users
# install as a python package locally # for developers
pip install -e . # in same folder as setup.py and .git
How to Use
ohre_demo.py is a demo that shows almost all usages. Check it and then maybe check the wiki(TBD).
python ohre_demo.py xxx.hap # run demo with HarmonyOS hap
python ohre_demo.py xxx.app # run demo with HarmonyOS app
Contacts
Please new an issue, participate in the discussion or make a PR.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ohre-0.0.1a1.tar.gz.
File metadata
- Download URL: ohre-0.0.1a1.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc1874b767d2fea2c857b78e700f1dd4eeb24b01d00a7311ac7715e1b728d85a
|
|
| MD5 |
0936cd71f4ffc3303a932ee11dd6be40
|
|
| BLAKE2b-256 |
3fdaacfebfadff96c47f6ea6b8fc60353adda41184ec65fb79da9aa7a6f85b96
|
File details
Details for the file ohre-0.0.1a1-py3-none-any.whl.
File metadata
- Download URL: ohre-0.0.1a1-py3-none-any.whl
- Upload date:
- Size: 21.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ecefad2f252bf4d0f85948aba567ec5cf7ab75f2963984d4fe11b0dafd91f64
|
|
| MD5 |
6e56dec8c2295be99e86240243cd967c
|
|
| BLAKE2b-256 |
1bec6405db9a96481aa694ce8168d0665454241be3926eac7d21fdeaab6c8bf8
|