Coder Social home page Coder Social logo

tp7309 / ttdedroid Goto Github PK

View Code? Open in Web Editor NEW
824.0 16.0 169.0 326.78 MB

一键反编译工具(不需要手动安装Python) One key for quickly decompile apk/aar/dex/jar, support by jadx/dex2jar/enjarify.

License: Apache License 2.0

Batchfile 1.31% Shell 2.50% Python 96.20%
dex2jar apktool android-decompile jadx enjarify apk-decompiler android decompile

ttdedroid's Introduction

TTDeDroid

Build Status DeepSource

README i18n: 中文说明

The tool for quickly decompile apk/aar/dex/jar, will be updated depending on the update of libs.

  • update at 2023-09-24

  • jadx=1.4.7

  • Storyyeller/enjarify(build by source)

  • dex2jar(build by source)

  • fernflower=232.9921.47(IntelliJ IDEA official decompiler)

  • apktool=2.8.1

Requirements

No need to install python environment.

Quick Start

Windows

  1. go to releases page to download file or download source code.
  2. add TTDedroid\bin directory absolute path to PATH system variable.
  3. then you can execute command for decompile *.apk/*.aar/*.dex/*.jar anywhere, GUI will be opened automatically.
showjar test.apk

Mac/Linux

run following commands:

git clone --depth=1 https://github.com/tp7309/TTDeDroid.git ~/Documents/TTDeDroid
chmod a+x ~/Documents/TTDeDroid/bin/showjar
showjardir='export PATH=$PATH:'$HOME/Documents/TTDeDroid/bin
# Mac
echo $showjardir >> ~/.bash_profile && source ~/.bash_profile
# Linux
echo $showjardir >> ~/.bashrc && source ~/.bashrc

then you can execute command for decompile *.apk/*.aar/*.dex/*.jar anywhere, GUI will be opened automatically.

showjar test.apk

Usage

usage: showjar.py [-h] [-o [OUTPUT]] [-r [RES]] [-e [ENGINE]] file

android decompile tool

positional arguments:
  file                  input file path, *.apk/*.aar/*.dex/*.jar

optional arguments:
  -h, --help            show this help message and exit
  -o [OUTPUT], --output [OUTPUT]
                        output directory, optional (default: None)
  -r [RES], --res [RES]
                        decode resources, 0:disable, 1:enable (default: 0)
  -e [ENGINE], --engine [ENGINE]
                        decompiler engine, [jadx, dex2jar, fernflower, enjarify] (default:
                        jadx)

ttdedroid's People

Contributors

tp7309 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  avatar  avatar  avatar  avatar  avatar

ttdedroid's Issues

Win7下,错误

提示:
Error:Could not create the Java Virtual Machine.
Error:A fatal exception has occurred. Program will exit.

反编译.dex文件时-o 指定了反编译文件输出目录,但是程序并没有输出文件

版本 1.7.0
操作系统:win10
执行命令:python showjar.py -o C:\Users\HWW\Desktop\dump\output 486964_dexfile.dex,输出如下:

output dir: C:\Users\HWW\Desktop\dump\output
find JAVA_HOME=C:\Program Files\Java\jdk-18.0.2.1
D:\tools\1.Decompile\TTDeDroid-1.7.0\libs\jadx\bin\jadx-gui.bat -j 8 C:\\Users\\HWW\\Desktop\\dump\\zeeker\\486964_dexfile.dex

除了没有定向输出文件,别的没有问题

执行出错

mac 执行之后出现这个 zsh: /Users/hh/Documents/TTDeDroid/bin/showjar: bad interpreter: /bin/sh^M: no such file or directory

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.