Skip to main content

APK扫描工具

Project description

APK扫描工具

skyeye是一款基于python3实现的扫描APK中代码引用的CLI工具

安装

python3环境安装

brew install python3

skyeye安装

pip3 install skyeye

使用

扫描APK中代码引用

  1. 本地创建config.yaml文件,格式如下
 - className: "com.xx.xx.yourClassName1"
   methodName: "yourMethodName1"
 - className: "com.xx.xx.yourClassName2"
   filedName: "yourMethodName2"

如果methodName不填写,会扫描className所有方法的外部的引用情况 如果filedName不填写,会扫描className所有变量的外部的引用情况

  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 -v 
输出版本同时,检查更新

changeLog

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

Uploaded Source

Built Distribution

skyeye-3.2.2-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skyeye-3.2.2.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

Hashes for skyeye-3.2.2.tar.gz
Algorithm Hash digest
SHA256 2464061b36aa68b148b70f770671db579f58be812a3070d15df8b1025f6d9b6f
MD5 d76681e20774c8e379a0de272ad8af0f
BLAKE2b-256 92303d95975c9ee5c413c7b78fe20bacd96b7e562441e8feee20424f0b049daf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: skyeye-3.2.2-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

Hashes for skyeye-3.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 65705483ddad9628e60a703788ca74d2d272e7c4d08d95e8a1fec2db2c5454e3
MD5 7ac4b8a7657b603a0180ad4db4b4e1b5
BLAKE2b-256 9ca6d1d7e5a4340faa2ed11a7abbfb7692e147f487ae2f98b4214abad73c5944

See more details on using hashes here.

Supported by

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