基于Xposed和Sekiro搭建的敏捷开发的脚手架
Go to file
2020-09-21 14:47:40 +08:00
app feat:增加新的models逻辑 2020-09-21 14:47:40 +08:00
gradle/wrapper fix:目录结构调整 2020-09-15 10:48:36 +08:00
sources fix:补充说明文档 2020-09-14 19:47:38 +08:00
.gitignore fix:目录结构调整 2020-09-15 10:48:36 +08:00
build.gradle fix:目录结构调整 2020-09-15 10:48:36 +08:00
gradle.properties fix:目录结构调整 2020-09-15 10:48:36 +08:00
gradlew fix:目录结构调整 2020-09-15 10:48:36 +08:00
gradlew.bat fix:目录结构调整 2020-09-15 10:48:36 +08:00
README.md fix:更新说明文档 2020-09-18 17:30:13 +08:00
settings.gradle fix:目录结构调整 2020-09-15 10:48:36 +08:00

Welcome to headwolf 👋

Version Documentation

Scaffolding for agile development based on Xposed and Sekiro (基于Xposed和Sekiro搭建的敏捷开发的脚手架)

借鉴于@virjar大佬Sekiro框架,感谢大佬分享🙆‍♀️

🏠 Homepage

暂无

Demo

暂无

Features introduction

  1. No restart debugging免重启调试
  2. Configure the framework by the configuration file由配置文件配置框架
  3. High concurrency design高并发设计
  4. One-click automatic registration可选功能一键自动注册

Structure introduction

公共类

  • commons

    统一日志类

    • Logger

    响应线程Task类

    • Response

入口类

  • entry

    Hook第一层入口包括免重启等功能

    • BaseEntry

    Hook逻辑入口由第一层入口加载包含具体的Hook逻辑

    • RealEntry

事件处理类

  • handlers

    基础处理类

    • BaseHandler

    测试类

    • KuaishouHandler
    • 其他

初始化管理类

  • initialization

    基础初始化类

    • BaseInit

    注册类管理与Sekiro服务端通信

    • Register

工具类

  • utils

    类查询助手

    • ClassesReaderAssistant

    通信助手

    • CommunicationAssistant

    算法助手

    • AlgorithmAssistant

    配置文件助手

    • PropertiesAssistant

    XSharedPreferences类助手

    • PreferenceAssistant
  • Config

Description

相关图示说明

Install

step1: git clone https://github.com/lateautumn4lin/headwolf
step2: import project into android studio
step3: run the test project E.g kuaishou

Usage

已实现自动化,省去该步骤 step1 在源码中加入hook app的包名由于技术lj没有能够实现自动加载配置文件、后续实现

路径com.lateautumn4lin.headwolf.entry.BaseEntry

step1

step2 在配置文件中配置相应hook项目的信息包括包名和主页activity以便于后续打开app时hook到主页activity向sekiro服务端注册

路径assets.config

step2

step3 开发对应hook app的handlers参考现有的快手的handler模块

路径com.lateautumn4lin.headwolf.handlers下新建

step3

已实现自动化,省去该步骤 step4 在Config文件中预先添加handler的实例没有实现动态添加后续补充

路径com.lateautumn4lin.headwolf.Config

step4

案例演示: 看看实际演示效果!

  • group

也就是Config配置文件中group_pdd/group_kuaishou这两个值当然你也可以自定义group_xxxxx开头的就行

  • action

对应的是每个handler的action获取方法

  • name

这个就是在handler方法中指定的query参数了当然也可以放在post请求的body中

案例演示

Run tests

案例测试: 参考快手的项目

参考源码中快手和pdd项目的Hook

并发测试: 采用C:50*1000总请求 M:1000并发请求的方案

Jmeter并发测试

Author

👤 lateautumn4lin

Show your support

Give a if this project helped you!


This README was generated with ❤️ by readme-md-generator