Giter Site home page Giter Site logo

geczy / ipa-bot Goto Github PK

View Code? Open in Web Editor NEW
31.0 2.0 6.0 18.73 MB

ipa-bot is a Telegram bot that allows users to request and decrypt iOS apps from the App Store. It provides a convenient way to download and decrypt IPA files, making them available for installation on devices.

License: GNU Affero General Public License v3.0

Shell 37.42% TypeScript 62.58%

ipa-bot's Introduction

Demo

IPA Bot

This is a Telegram bot for downloading and decrypting iOS app files (.ipa).

Prerequisites

To run this bot, make sure you have the following software installed:

  • Node.js (version >= 19.0.0, < 20.0.0)
  • Yarn package manager
  • Jailbroken iPhone on iOS 16

Installation

  1. Clone this repository:

    git clone https://github.com/geczy/ipa-bot.git
  2. Navigate to the project directory:

    cd ipa-bot
  3. Install the dependencies:

    yarn install

    a. You'll need to install mongosh manually by visiting their page and following their instructions: https://www.mongodb.com/docs/mongodb-shell/install

  4. Rename the .env.example file to .env:

    mv .env.example .env
  5. Open the .env file and provide the necessary values for the environment variables.

Usage

To start the bot, run the following command:

yarn start

The bot will connect to Telegram and start listening for commands.

Available Commands

The following commands are available for interacting with the IPA Bot:

  • /request <App Store URL>: Downloads and decrypts the iOS app specified by the provided App Store URL. The decrypted app file will be uploaded to the chat.
  • /reboot: Restarts the bot. This command is only available to administrators specified in the ADMIN_IDS environment variable.
  • /delete <App Store URL>: Deletes the app information and files associated with the provided App Store URL from the database and file system. This command is only available to administrators specified in the ADMIN_IDS environment variable.

Please make sure to provide valid App Store URLs when using the /request and /delete commands.

Note: The bot can only process one app download or deletion request at a time. If there is already an ongoing request, additional requests will be added to a queue and processed in order once the previous request is completed.

Running into errors while requesting an app?

You will need to install MongoSH if you haven't already. You can follow their tutorial here: https://www.mongodb.com/docs/mongodb-shell/install

There may also be some other packages that you need to manually install. In order to see a detailed error message, you can run the bash script that you see in your Terminal upon requesting an app. It should look something like this:

bash ./src/bash-decryptor/download-ipa.sh 1137397744 us 0123456789 ''

From here, you'll recieve an error message indicating what the issue is.

License

This project is licensed under the GNU Affero General Public License v3.0. See the LICENSE file for details.

Credits

This project uses the following dependencies:

  • ipatool - A tool for working with iOS app packages (.ipa).
  • bagbak - A tool for decrypting encrypted iOS app packages (.ipa).

Contributing

Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please create an issue or submit a pull request.

ipa-bot's People

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

Watchers

 avatar  avatar

ipa-bot's Issues

Need a little bit of help with usage (err: Decryption process closed)

Hey, I was hesitant to make an issue for this but I've been trying to troubleshoot and get things working but can't seem to figure this one issue out.

I have the Telegram bot all setup, yarn & node are installed, and so is everything else (Frida, AppSync, and OpenSSH is available with root). My iPhone X is on 16.1.2 and is jailbroken with palera1n.

When I run the command /request <app link> I run into this issue:
Screenshot of error in Terminal

For my first time setting everything up, I used Windows 11. However for my second time I tried using Ubuntu on WSL-2 with no luck either (same issue on both Windows and WSL).

If you need any more information, feel free to ask and I'll provide.

syntax error near unexpected token `}'

Hi, I get an error when I run the following command

bash ./src/bash-decryptor/download-ipa.sh 1137397744 us 0123456789 ''

error

./src/bash-decryptor/download-ipa.sh: line 278: syntax error near unexpected token }' ./src/bash-decryptor/download-ipa.sh: line 278: }'

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.