Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thibmaek/rekt
Time to get rekt! Rekt is an app rekking tool for Android & iOS apps
https://github.com/thibmaek/rekt
android flutter hermes ios jadx kotlin react-native rekt-cli reverse-engineering swift
Last synced: about 2 months ago
JSON representation
Time to get rekt! Rekt is an app rekking tool for Android & iOS apps
- Host: GitHub
- URL: https://github.com/thibmaek/rekt
- Owner: thibmaek
- Created: 2023-10-04T19:30:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-14T17:27:11.000Z (4 months ago)
- Last Synced: 2024-08-14T19:08:15.518Z (4 months ago)
- Topics: android, flutter, hermes, ios, jadx, kotlin, react-native, rekt-cli, reverse-engineering, swift
- Language: Go
- Homepage:
- Size: 8.95 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rekt
```plaintext
=====================================================
__ __ __
_ __ __ /\ \/ \ /\ \__
/\` __\ / ,.`\ \ \ < \ \ ,_\
\ \ \/ /\ __/ \ \ ^ \ \ \ \/
\ \_\ \ \____\ \ \_\ \_\ \ \ \_
\/_/ \/____/ \/_/\/_/ \ \__\
\/__/
=====================================================
```## 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:
```console
$ 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 filesGiven an APK `com.my_app.apk` you'd get the results like this:
```console
$ rekt decompile -archive=./com.my_app.apk
$ rekt probe -outputDir=./scan/com_my_app
$ rekt break -outputDir-./scan/com_my_app
```#### Decompile
```console
# 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/`
```console
$ rekt decompile -archive=./com.my_app.apk -outputDir=./decompiled_app
```#### Probe
```console
$ rekt probe -inputDir=./scan/com_my_app
```#### Break
```console
$ rekt break -inputDir=./scan/com_my_app
```## Building
```console
# 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