Giter Club home page Giter Club logo

xproot's Introduction

XpRoot

XpRoot是一款通过解压APK,动态修改Dex文件,实现注入Xposed模块的应用.
源码分析

基本原理

  1. 解压Apk
  2. 读取宿主Application
  3. 修改宿主Application的Dex,注入加载XP模块逻辑
  4. 重新压缩
  5. 签名APP

工具使用

基本命令

java -jar ./ApkRoot.jar -host ./宿主.apk -virus ./xposed模块.apk

debug 命令

修改宿主 Apk 是否变为 debug 模式

java -jar ./ApkRoot.jar -host ./宿主.apk -virus ./xposed模块.apk -debug 1

dex 命令

通过直接修改宿主Application注入入口 (可能存在65535问题)

java -jar ./ApkRoot.jar -host ./宿主.apk -virus ./xposed模块.apk -dex 1

Thanks

Xpath

xproot's People

Contributors

makeloveandroid avatar

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.