APKINSPECTORは、APKファイルのZIP構造に関する詳細な洞察を提供するために設計されたツールであり、コンテンツを抽出してAndroidManifest.xmlファイルをデコードする機能を提供します。 ApkIsspectorを際立たせるのは、APK解析中のZIP仕様を順守し、外部ライブラリへの依存の必要性を排除することです。この独立性により、APKINSPECTORは高度に適応性があり、標準ライブラリを使用して解析できないAPKのAndroidのインストールプロセスを効果的にエミュレートすることができます。主な目標は、特に従来の方法が効果的でないことが判明した場合、ユーザーが回避技術を採用するAPKで静的分析を実施できるようにすることです。
詳細については、このブログ投稿をご覧ください。
ApkinspectorはPypiから入手できます
pip install apkInspector
または、このリポジトリをクローンして、ローカルで構築およびインストールすることもできます。
git clone https://github.com/erev0s/apkInspector.git
cd apkInspector
poetry build
pip install dist/apkInspector-Version_here.tar.gz
Docstringsに基づいて作成されたドキュメントは、Sphinxから入手できます。
https://erev0s.github.io/apkinspector/
APKINSPECTORは、同じ名前のコマンドラインツールを提供し、次のオプションを提供します。
$ apkInspector -h
usage: apkInspector [-h] [-apk APK] [-f FILENAME] [-ll] [-lc] [-la] [-e] [-x] [-xa] [-m] [-sm SPECIFY_MANIFEST] [-a] [-v]
apkInspector is a tool designed to provide detailed insights into the zip structure of APK files, offering the capability to extract
content and decode the AndroidManifest.xml file.
options:
-h, --help show this help message and exit
-apk APK APK to inspect
-f FILENAME, --filename FILENAME
Filename to provide info for
-ll, --list-local List all files by name from local headers
-lc, --list-central List all files by name from central directory header
-la, --list-all List all files from both central directory and local headers
-e, --export Export to JSON. What you list from the other flags, will be exported
-x, --extract Attempt to extract the file specified by the -f flag
-xa, --extract-all Attempt to extract all files detected in the central directory header
-m, --manifest Extract and decode the AndroidManifest.xml
-sm SPECIFY_MANIFEST, --specify-manifest SPECIFY_MANIFEST
Pass an encoded AndroidManifest.xml file to be decoded
-a, --analyze Check an APK for static analysis evasion techniques
-v, --version Retrieves version information
Apkinspectorのライブラリコンポーネントは、拡張性を念頭に置いて設計されており、他のツールがその機能をシームレスに統合できるようにします。この柔軟性により、開発者は、独自のアプリケーションとワークフロー内でAPKINSPECTORの機能を活用することができます。明確な理解と使いやすさを促進するために、包括的なドキュストリングはすべての主要な方法に伴い、機能性、予想される議論、返品値について貴重な洞察を提供します。これらの詳細な説明は、非常に貴重なガイドとして機能し、開発者がApkinspectorのコア機能の内部の仕組みを迅速に把握し、プロジェクトにスムーズに組み込むことができるようにします。
コマンドラインインターフェイス(CLI)は、ライブラリが提供する方法がどのように採用されているかを実用的な図として機能します。
一連のトッププレイストアアプリケーションに対してapkinspectorをテストした結果を見てください
Apkinspectorの改善と強化を支援するために、オープンソースコミュニティからの貢献を歓迎します。開発者、テスター、ドキュメント愛好家のいずれであっても、貢献は価値があります。
Apkinspectorは進化するプロジェクトであり、進行中の作業であることに留意する必要があります。そのため、ユーザーは時折のバグを予測し、ツールが成熟し続け、機能を強化し続けるため、更新とアップグレードを予測する必要があります。 Apkinspectorへのフィードバックと貢献は、その能力を改善および改善するために協力する際に高く評価されています。