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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: skyeye-3.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 28dd5dc639c89feee3752dbf255225fc672265a3459fa8ec3168869cf2d8bfc7
MD5 d2e6f9a5635c49b038cc63acaa6fcf2e
BLAKE2b-256 3679fc0722e748191bf8bf9892d6f404cad0abd4ce2352729416a507b2a43f56

See more details on using hashes here.

File details

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

File metadata

  • Download URL: skyeye-3.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f2adc3e41bd7edb8c6d13898c4eecc444e7a44bcdcb3e80258a220b63ed074d5
MD5 ba0c0fbd1f6cb7aa3a9bfa8a831dde12
BLAKE2b-256 be73a618e8f4029dbc920776ff10e622ac992af5840b44209f7e988894539295

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