Git Product home page Git Product logo

appshell's Introduction

AppShell

利用动态加载技术实现APK加壳

Apk加壳原理

Apk加壳原理及用法 参考这篇博客

说明

AndroidShell 是一个Android Studio项目工程,其中包含了app,secure,secure-jni三个module.

app -- 源APP,即待加壳的apk (demo.apk)
secure -- 壳APP, 使用java实现加壳的过程.(shell.apk)
secure-jni -- 壳APP,使用JNI实现加壳的过程.(shell.apk)

AndroidShellTools 一个对apk加密并将apk与dex合并的工具

主要功能是加密demo.apk,然后将加密后的demo.apk数据与shell.dex数据合并为classes.dex,修改classes.dex文件的头部,并添加apk文件的大小至尾部。

Tools 用于对apk进行签名的工具

主要功能是对payload.apk签名,生成签名后的payload-release.apk

apk签名指令介绍

jarsigner -verbose -keystore 你的签名文件 -storepass 密码 -keypass alias的密码 -sigfile CERT -digestalg SHA1 -sigalg MD5withRSA -signedjar 签名后的文件 签名前的apk 签名文件的alias名称

eg:

jarsigner -verbose -keystore secure.jks -storepass androidsecure -keypass androidsecure -sigfile CERT -digestalg SHA1 -sigalg MD5withRSA -signedjar payload-release.apk payload.apk secure

签名文件的密码:androidsecure
alais的密码:androidsecure

appshell's People

Contributors

guowee 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.