APK扫描工具
Project description
APK扫描工具
skyeye是一款基于python3实现的扫描APK中代码引用的CLI工具
安装
python3环境安装
brew install python3
skyeye安装
pip3 install skyeye
pythonCli环境配置
- zsh 在.zshrc中增加以下配置 export PATH="~/Library/Python/3.8/bin:$PATH"
- bash 在.bash_profile中增加以下配置 export PATH="~/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路径
-o , --output 输出结果的文件夹路径 【可选,默认运行文件夹路径】
-c , --config 扫描配置yaml文件路径
- 结果报告
{
"com.test.Class:testMethod(Landroid.content.Context;)Ljava.lang.String;": [
{
"class_name": "com.test.CallerClassName",
"method_name": "private final CallerFuncName()V"
}
]
}
查看当前版本
skyeye -v
输出版本同时,检查更新
changeLog
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.0.0.tar.gz
(1.1 MB
view details)
Built Distribution
File details
Details for the file skyeye-3.0.0.tar.gz
.
File metadata
- Download URL: skyeye-3.0.0.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5697b7339ad9b87527d4d3c2eff44d52670d012fc252fd585a5670754c7f9a64 |
|
MD5 | feb4732ab8c656e7123429f2f1f18345 |
|
BLAKE2b-256 | 954df1dbdb1591d1269f09a2d81984badf00d17f84f2a3d6e02c492e92cc433f |
File details
Details for the file skyeye-3.0.0-py3-none-any.whl
.
File metadata
- Download URL: skyeye-3.0.0-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d742b3cd5d6a38a3c1b529b142892dafcf6d7c05e9bd7f06e48a72ac8385a434 |
|
MD5 | fced06b393263cb66e444b64229fb7f1 |
|
BLAKE2b-256 | f19896a35df75ce6ff63a7c4ce0f678b253f3dbe0675691bf863507e78f265eb |