GithubHelp home page GithubHelp logo

minzique / bagbak Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chichou/bagbak

0.0 0.0 0.0 1.47 MB

Yet another frida based iOS dumpdecrypted. Also decrypts app extensions

License: MIT License

JavaScript 100.00%

bagbak's Introduction

bagbak

version downloads issues sponsers license

Yet another frida based App decryptor. Requires jailbroken iOS device and frida.re

Only tested on iOS 14 (unc0ver) and iOS 16 (checkm8). Help wanted: Dopamine seems to have issues on process spawn but I don't have such device to debug.

demo

The name of this project doesn't have any meaning. I was just listening to that song while typing.

FAQ

Prerequisites

On device

With Cydia:

Rootless:

If your are using rootless jailbreak, another project of mine fruity-frida might help. Use the run-frida-server to automatically download, deploy and run frida-server on your device.

On desktop

  • node.js. If you have issues on npm install, your node.js might be either too new or too old. Try to use nvm to install a compatible version or download the correct installer.
  • zip or 7z command is needed to create zip archive. On most of the distros, you don't need to install them manually.

Windows Compatibility

  • Filesystem of iOS differs from Windows. If you are running bagbak on Windows, some of the file attributes (e.g., executable bit) will be lost, thus the repacked ipa may not be able to reinstall on your phone. But it does not matter if you only indend to do static analysis.

Install

npm install -g bagbak

Usage

bagbak [bundle id or name]

Options:
  -l, --list             list apps
  -U, --usb              connect to USB device (default)
  -R, --remote           connect to remote frida-server
  -D, --device <uuid>    connect to device with the given ID
  -H, --host <host>      connect to remote frida-server on HOST
  -f, --force            override existing files
  -d, --debug            enable debug output
  -r, --raw              dump raw app bundle to directory (no ipa)
  -o, --output <output>  ipa filename or directory to dump to
  -h, --help             display help for command

Environments variables:

  • DEBUG=1 enable debug output for troubleshooting
  • DEBUG_SCP=1 debug SCP protocol
  • SSH_USERNAME username for iPhone SSH, default to root
  • SSH_PASSWORD password for iPhone SSH, default to alpine
  • SSH_PORT port for iPhone SSH. If not given, bagbak will scan port 22 (OpenSSH) and port 44 (Dropbear)

Example:

  • bagbak -l to list all apps
  • bagbak --raw Chrome to dump the app to current directory
  • bagbak com.google.chrome.ios to dump app to com.google.chrome.ios-[version].ipa

国内用户 frida 安装失败问题

使用国内镜像加速安装

想看更多中文技术分享?欢迎关注我的公众号

bagbak's People

Contributors

chichou avatar dependabot[bot] avatar aeonlucid avatar itsmylife44 avatar asdfzxcvbn 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.