Giter Site home page Giter Site logo

thibmaek / rekt Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 9.17 MB

Time to get rekt! Rekt is an app rekking tool for Android & iOS apps

Dockerfile 5.67% Makefile 1.94% Shell 1.64% Go 90.75%
android flutter hermes ios jadx kotlin react-native reverse-engineering swift rekt-cli

rekt's Introduction

Rekt

=====================================================
                 __  __     __
 _ __     __    /\ \/  \   /\ \__
/\` __\ / ,.`\  \ \    <   \ \ ,_\
\ \ \/ /\  __/   \ \  ^  \  \ \ \/
 \ \_\ \ \____\   \ \_\ \_\  \ \ \_
  \/_/  \/____/    \/_/\/_/   \ \__\
                               \/__/
=====================================================

Prereqs

If running outside of Docker (e.g locally) you will need the following installed:

  • jadx (Java)
  • hermes-desc (Python)

Install

How to get rekt:

  • Use the binary in the ./rekt-cli/bin folder
  • Download from Github releases
  • Build it yourself

Usage

Rekt decompiles, analyzes and breaks application archives. A valid app archive file is needed for either of these platforms:

  • iOS: iOS Package App Store (IPA, .ipa)
  • Android: Android Package Kit (APK, .apk)

Both of these archives are essentialy glorified ZIP archives that you can also unpack manually.

Docker

Pull the image and bindmount a volume scan containing your archive:

$ docker pull @thibmaek/rekt
$ docker run -it --rm -v $(pwd)/scan:/scan @thibmaek/rekt /scan/com.my_app.apk

CLI

A typical run of rekt using the cli involves running:

  1. Decompile - Getting plain readable files
  2. Probe - Gathering info about the decompiled app
  3. Break - Finding secrets and credential files

Given an APK com.my_app.apk you'd get the results like this:

$ rekt decompile -archive=./com.my_app.apk
$ rekt probe -outputDir=./scan/com_my_app
$ rekt break -outputDir-./scan/com_my_app

Decompile

# Decompiling an APK
$ rekt decompile -archive=./com.my_app.apk

# Decompiling an IPA
$ rekt decompile -archive=./com.my_app.ipa

Optionally provide an output directory -outputdir. Defaults to ./scan/<bundle_id>

$ rekt decompile -archive=./com.my_app.apk -outputDir=./decompiled_app

Probe

$ rekt probe -inputDir=./scan/com_my_app

Break

$ rekt break -inputDir=./scan/com_my_app

Building

# Install local dependencies
$ make dependencies

# Build Docker & Go
$ make build

# Build only the docker image
$ make build_docker

# Build only the CLI
$ make build_cli

Todos

  • Gitlab CI support
  • Github Actions support
  • Azure Devops support

rekt's People

Contributors

thibmaek avatar

Stargazers

 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.