Skip to main content

ejni

ejni 是 extract JNI 的简称, 基于 evilpan/jni_helper 修改。

功能

将 Dex 中的 native 方法,全部提取出来,转成 JNI 函数签名,以便在 Ghidra 等工具进行自动化处理 JNI 函数。

为什么

  • 移除 androguard 库,减少依赖。
  • 发布到 pypi,方便使用。

安装

以下任意一种方式都可以:

pip install ejni
pipx install ejni
rye install ejni

使用

ejni demo.apk -o demo_jni.json

之后,利用 evilpan/jni_helper 提供的插件,进行处理即可。

Metadata

Release files for ejni 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for ejni 0.1.2
File Interpreter ABI Platform
ejni-0.1.2-py3-none-any.whl Python 3 none any Details

Release files / ejni-0.1.2-py3-none-any.whl

Download URL ejni-0.1.2-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f77cb5a74d8e186564add938df7fba6138181bed222e792e88270b0a70a39f60
BLAKE2b-256 checksum
How to use checksums
8794155b7acdd685415527c35a957ac1396dc147a922f36a509345ece1017e64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.4

Security for ejni 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page