Skip to main content

APK扫描工具

Project description

安装

python3环境安装

brew install python3

skyeye安装

pip3 install skyeye

扫描APK中代码引用

  1. 本地创建config.yaml文件,格式如下
- className: "com.xx.xx.yourClassName1"
  methodName: "methodName"
- className: "com.xx.xx.yourClassName2"
  filedName: "filedName"
  • 如果methodName,filedName不填写,会扫描className所有方法和变量的外部引用情况
  • 方法和字段名都是模糊匹配,例如methodName(x,x)只需要填写methodName即可
  • 扫描父类的字段和方法,其子类的也会被扫描
  1. 扫描
skyeye scan
      -i , --input       输入扫描的APK路径
      -c , --config      扫描配置yaml文件路径
      -o , --output      输出结果的文件夹路径 【可选,默认运行文件夹路径】
  1. 输出结果,格式如下
{
    "cn.Test:<init>()V": [
        {
            "caller_class": "cn.xx.MainActivity",
            "caller_method": "protected onCreate(Landroid.os.Bundle;)V",
            "invoke_num": " 58"
        }
    ],
    "cn.Test.staticString": [
        {
            "caller_class": "cn.xx.MainActivity",
            "caller_method": "protected onCreate(Landroid.os.Bundle;)V",
            "invoke_num": " 60"
        }
    ]
}

反编译

skyeye dec
      -i , --input       输入扫描的APK路径
      -o , --output      输出结果的文件夹路径 【可选,默认运行文件夹路径】

GUI打开源码

skyeye jd
      -i , --input   目标class文件路径 或者 class文件夹路径

查看当前版本

skyeye -v 
输出版本同时,检查更新

changeLog

3.6.0

  • 支持扫描子父类的继承方法和字段

3.4.2

  • 支持APK反编译

3.2.0

  • 支持静态变量&&变量扫描
  • 支持扫描类里面所有变量&&方法

3.1.0

  • 增加结果报告执行函数输出
  • 增加PyYaml的依赖

3.0.0在侧边

  • 扫描特定类的所有方法外部的引用
  • 扫描特定类的特定方法的外部引用
  • 支持图片的裁剪选择

Project details


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.7.0.tar.gz (9.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skyeye-3.7.0-py3-none-any.whl (9.7 MB view details)

Uploaded Python 3

File details

Details for the file skyeye-3.7.0.tar.gz.

File metadata

  • Download URL: skyeye-3.7.0.tar.gz
  • Upload date:
  • Size: 9.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for skyeye-3.7.0.tar.gz
Algorithm Hash digest
SHA256 b8d3c3aab33d99cc202ee77cd92a9c953350a24b855e8d5faab26a86cac3a394
MD5 ab1eb5813d9bbd0128b78539b5501e88
BLAKE2b-256 9fbb11c6070fcb2628d88b1a7dd80806b74a7754b4ff14daa75464132ca6fd94

See more details on using hashes here.

File details

Details for the file skyeye-3.7.0-py3-none-any.whl.

File metadata

  • Download URL: skyeye-3.7.0-py3-none-any.whl
  • Upload date:
  • Size: 9.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for skyeye-3.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8baa71e599bb6e08d135c269252c2607d61c99576fd609e16c3751366358595b
MD5 4beed3f6d77d332db591b88be0cb04db
BLAKE2b-256 f03d5cf57c54417c261b73f1e6dbc913653753ba51e87bfa0c18bbc25981c97b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page