Skip to main content

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中代码引用

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

如果methodName不填写,会扫描className所有方法的外部的引用情况,目前仅支持:

  • 扫描特定类的所有方法外部的引用
  • 扫描特定类的特定方法的外部引用
  1. 扫描
    skyeye scan
      -i , --input       输入扫描的APK路径
      -c , --config      扫描配置yaml文件路径
      -o , --output      输出结果的文件夹路径 【可选,默认运行文件夹路径】
  1. 输出结果,格式如下
{
    "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


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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

Hashes for skyeye-3.1.2.tar.gz
Algorithm Hash digest
SHA256 ab14fd560c9b5ebd6fa62b55d40713e509b58660debb7f99fcefb0da413f4dd7
MD5 3f2bb2c18188876ba95dbf3971890f4c
BLAKE2b-256 922a62d576209472ccf25f7c6a51a9f908aced405004d6d8f062a7692843cff8

See more details on using hashes here.

File details

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

File metadata

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

Hashes for skyeye-3.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6070ffd018970efd22f10bb4be70f2317b58050552b555c22d666cf02bd1e23e
MD5 82b263b6565c446acd655d5f1de5d468
BLAKE2b-256 bc9ef2bf5755c75d31103f79cd4cf84bc0894db6364807d163eff1d7501ed0ec

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