GithubHelp home page GithubHelp logo

repack's Introduction

Apk签名hook服务

通过插入代码到 Application 入口,hook 了程序中 PackageManager 的 getPackageInfo 方法,改变签名信息达到绕过签名校验的方式。 对其他校验方式无效。

使用

  1. 安装java,配置安卓环境变量和aapt工具
    export ANDROID_HOME="$HOME/Library/Android/sdk"
    export ANDROID_TOOLS="$ANDROID_HOME/tools/bin"
    export ANDROID_PLATFORM_TOOLS="$ANDROID_HOME/platform-tools"
    export ANDROID_BUILD_TOOLS="$ANDROID_HOME/build-tools/28.0.3/"
    export NDK_ROOT="$HOME/Library/Android/sdk/ndk-bundle/"
    export PATH="$HOME/node_modules/.bin:$ANDROID_BUILD_TOOLS:$ANDROID_PLATFORM_TOOLS:$ANDROID_TOOLS:$NDK_ROOT:$PATH"
    alias appt="$ANDROID_HOME/build-tools/28.0.3//aapt"
  2. 安装smali
    brew install smali
  3. 修改config.txt配置文件
  4. 运行Repack

repack's People

Watchers

James Cloos avatar  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.