Coder Social home page Coder Social logo

skyeye's Introduction

安装

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在侧边

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

skyeye's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.