Giter Site home page Giter Site logo

virb3 / apk-utilities Goto Github PK

View Code? Open in Web Editor NEW
214.0 11.0 45.0 126.47 MB

๐Ÿ›  Tools and scripts to manipulate Android APKs

Shell 0.29% Batchfile 0.04% Python 98.03% JavaScript 1.49% Smali 0.14% Java 0.02%
apk android reverse-engineering rce app reversing adb

apk-utilities's Introduction

APK Utilities

A cross-platform suite of scripts and utilities for working with APK files

Features

Pull

  • adb-pull - pull an app's APK files from a connected device to the project directory
  • adb-lp-pull - pull all LP modified files to the project directory
  • clean - clean the project directory
  • merge - merge APK files into a single APK file

Extract

  • apktool-decode - decode an apk to sources
  • baksmali - decompile a dex to smali
  • aapt-dump - dump Android-specific data (resources, manifest) from an apk
  • enjarify - convert an apk to a jar
  • dexify - convert a jar to a dex

Build

  • apktool-build - build previously decoded sources to a patched apk
  • smali - build previously decompiled smali to a patched dex
  • sign - sign a patched apk to a signed apk

Push

  • adb-install - install an apk file
  • adb-install-multiple - install multiple apk files
  • adb-lp-push - push files to the LP data directory

Usage

Clone this repo and use the .sh scripts at its root. For a clean workflow, all scripts operate under the project directory.

Example workflow

  • adb-pull > apktool-decode > make changes > apktool-build > sign > adb-install

Installation

You need bash installed and accessible under /bin/bash. On Windows you can use WSL, the scripts will detect that and still use the native Windows binaries.

If you want to use the aapt-* and adb-* scripts, then you also need to install the Android SDK. In Ubuntu, there is an official package android-sdk. Make sure the following directories are added to your PATH:

  • android-sdk/platform-tools/
  • android-sdk/build-tools/xx.x.x/ (preferably the most up-to-date one)

3rd party

apk-utilities's People

Contributors

virb3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apk-utilities's Issues

Documentation for templates

Hello @ViRb3,

do you have a documentation for working with the templates? For example how to log variables in methods to logcat? Is this even possible with Frida?
Thank you very much!

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.