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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: skyeye-3.1.4.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.1.4.tar.gz
Algorithm Hash digest
SHA256 f5d945324e45d6f0e141ce8d4ec7b8cce228e27699bd1a0b0adb509c9d5eb3de
MD5 1cd9482a4c82e7f3f19e300472283819
BLAKE2b-256 379fea069a4e597edf7d3a147a5869aeb2a82490b6f84b966a8428ab0def8e51

See more details on using hashes here.

File details

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

File metadata

  • Download URL: skyeye-3.1.4-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.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b36cd4e3ec0da2d2827d34db946d69b7b77ae6ee85dc444ee8dd9ef63402d027
MD5 050979354d82781bb1ad7e1046c65005
BLAKE2b-256 8fcea7ce0543061ea6f34399161417b8b80b67dcc28720eb4f68f7ca9e2bf623

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