Code Monkey home page Code Monkey logo

apk2java-linux's Introduction

apk2java-linux

This project is a porting for Linux/*nix of https://github.com/rajivvishwa/apk2java that works only on Windows

Introduction

This script decompiles an apk to its corresponding java sources. Security code review can be done on theses generated applicaion source files so as to identify any potential vulnerabilities present. This is not made to encourage piracy/plagiarism.

*** This script just automates the sequence in which various tools are initiated and does not handle any error events. You will have to go through the cmd verbose to figure out the problem. ***

Usage

Usage: apk2java.py action ApkFileName [options]

action can only be 'b' (for build) and 'd' (for decompile)
Options:
  -h, --help   show this help message and exit
  --java       select java source format [DEFAULT]
  --smali      select smali source format
  --jasmin     select jasmin source format
  --no-source  no source code generation

Requirements

JRE 1.7 (Java Runtime Environment) Python 3

Tools used

Dex2jar : http://code.google.com/p/dex2jar/

Procyon : https://bitbucket.org/mstrobel/procyon/wiki/Java%20Decompiler

apk-tool : http://code.google.com/p/android-apktool/

baksmali : http://code.google.com/p/smali/

Note: These tools and a sample apk are downloaded by the script. There is not need to download them manually

apk2java-linux's People

Contributors

mbtech avatar mcendon avatar orf avatar thez3ro avatar

Watchers

 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.