APK扫描工具
Project description
APK扫描工具
skyeye是一款基于python3实现的扫描APK中代码引用的CLI工具
安装
python3环境安装
brew install python3
skyeye安装
pip3 install skyeye
pythonCli环境配置
- zsh 在.zshrc中增加以下配置 export PATH="/Users/{yourHostName}/Library/Python/3.8/bin:$PATH"
- bash 在.bash_profile中增加以下配置 export PATH="/Users/{yourHostName}/Library/Python/3.8/bin:$PATH"
使用
扫描APK中代码引用
- 创建yaml文件,格式如下
- className: "com.xx.xx.yourClassName1"
methodName: "yourMethodName1"
- className: "com.xx.xx.yourClassName2"
methodName: "yourMethodName2"
如果methodName不填写,会扫描className所有方法的外部的引用情况,目前仅支持:
- 扫描特定类的所有方法外部的引用
- 扫描特定类的特定方法的外部引用
- 扫描
skyeye scan
-i , --input 输入扫描的APK路径
-c , --config 扫描配置yaml文件路径
-o , --output 输出结果的文件夹路径 【可选,默认运行文件夹路径】
- 输出结果,格式如下
{
"com.test.Class:testMethod(Landroid.content.Context;)Ljava.lang.String;": [
{
"class_name": "com.test.CallerClassName",
"method_name": "private final CallerFuncName()V",
"invoke_num": " 45"
}
]
}
查看当前版本
skyeye -v
输出版本同时,检查更新
changeLog
3.1.0
- 增加结果报告执行函数输出
- 增加PyYaml的依赖
3.0.0
- 扫描特定类的所有方法外部的引用
- 扫描特定类的特定方法的外部引用
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
skyeye-3.1.5.tar.gz
(1.1 MB
view details)
Built Distribution
File details
Details for the file skyeye-3.1.5.tar.gz
.
File metadata
- Download URL: skyeye-3.1.5.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 540045a88937d6feb47b08b4386855bac93ea2a43b4417ea6050c6e822f01089 |
|
MD5 | 366ec8c072540cc3927158e6594c0f9e |
|
BLAKE2b-256 | c63c7bb40cd758bffbbe57d1e48f466ff42adf3ddca00322270c51e0dea8db36 |
File details
Details for the file skyeye-3.1.5-py3-none-any.whl
.
File metadata
- Download URL: skyeye-3.1.5-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13fb43e50c2b8db2ca268f537d61eb12c0998939da256182af9e9cd3aa58551d |
|
MD5 | d078ac2dc71a16f1d26f433d1eb0b5f5 |
|
BLAKE2b-256 | d7f3fc43c99d2ef7030979c86131b532bb9bea23d3b555437039a23dc08a8962 |