{"id":16107638,"url":"https://github.com/n3d1117/crackbot2","last_synced_at":"2025-03-18T08:32:25.618Z","repository":{"id":107065504,"uuid":"232402025","full_name":"n3d1117/CrackBot2","owner":"n3d1117","description":"A macOS bash script to automate decryption of iOS Apps using a jailbroken iOS device","archived":false,"fork":false,"pushed_at":"2020-12-08T19:38:24.000Z","size":35,"stargazers_count":39,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-28T08:29:15.760Z","etag":null,"topics":["activator","autotouch","bash","bfdecrypt","decrypt","ios","ipa","macos"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/n3d1117.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-07T19:35:48.000Z","updated_at":"2024-11-18T09:57:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"08f65b88-bc54-4712-8379-f268df318e42","html_url":"https://github.com/n3d1117/CrackBot2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n3d1117%2FCrackBot2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n3d1117%2FCrackBot2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n3d1117%2FCrackBot2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n3d1117%2FCrackBot2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n3d1117","download_url":"https://codeload.github.com/n3d1117/CrackBot2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910749,"owners_count":20367544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["activator","autotouch","bash","bfdecrypt","decrypt","ios","ipa","macos"],"created_at":"2024-10-09T19:23:59.647Z","updated_at":"2025-03-18T08:32:25.611Z","avatar_url":"https://github.com/n3d1117.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CrackBot2 🤖\n\n\u003cimg src=\"https://user-images.githubusercontent.com/11541888/71923323-1757c800-318d-11ea-9576-3f57273ffb8c.gif\" width=\"100%\" /\u003e\n\nCrackBot2 is a bash script used to automate decryption of iOS apps.\n\n**NOTE**: for research and reverse engineering purposes only. Do **NOT** use this for piracy.\n\n## Requirements\n* macOS (tested on Catalina 10.15.2)\n* Jailbroken iOS device (tested on iPhone 6s, iOS 11 and 12)\n\n## Usage\n`./bot \u003ciTunes URL\u003e`\n\n## Setup\n### Device\n* Set device language to English\n* Connect the device to your computer and make sure to accept the trust dialog\n* Install the following packages from Cydia:\n\t* OpenSSH\n\t* bfdecrypt from https://level3tjg.xyz/repo/\n\t* plutil\n\t* Open for iOS 11\n\t* [AutoTouch](https://autotouch.net)\n\t* [NoAppThinning](https://github.com/n3d1117/NoAppThinning) from https://n3d1117.github.io\n\t* Activator from https://rpetri.ch/repo\n* Make sure you are logged in the App Store, preferably with US account\n* Disable password requirement for free apps (Settings -\u003e iTunes \u0026 App Store -\u003e Password Settings -\u003e Disable Require Password)\n* In bfdecrypt settings, toggle one app on and off (this allows the creation of `com.level3tjg.bfdecrypt.plist` file in `/var/mobile/Library/Preferences`)\n\n### Computer\n* Install jq with `brew install jq` (requires [Homebrew](https://brew.sh))\n* Install [ios-deploy](https://github.com/ios-control/ios-deploy) with `brew install ios-deploy` (requires [Homebrew](https://brew.sh))\n* Connect your jailbroken device with USB\n* Enable passwordless root login for your device:\n\t* `ssh-keygen -t rsa -P '' -f ~/.ssh/YOUR_DEVICE_NAME` (NOTE: you may need to run `ssh-add ~/.ssh/YOUR_DEVICE_NAME` too)\n\t* `ssh-copy-id -i ~/.ssh/YOUR_DEVICE_NAME.pub root@YOUR_DEVICE_IP` (if needed, install ssh-copy-id with `brew install ssh-copy-id`)\n\t* You should now be able to connect to your device with `ssh root@YOUR_DEVICE_IP` without entering the password.\n\t* **NOTE**: I strongly recommend enabling [SSH via USB](https://iphonedevwiki.net/index.php/SSH_Over_USB) so you can connect to your device as `ssh root@localhost -p 2222` \n\n## Getting started\n* Download and install [my fork](https://github.com/n3d1117/bfdecrypt) of [BishopFox's bfdecrypt](https://github.com/BishopFox/bfdecrypt): \n\t```bash\n\tcd ~/downloads/\n\tcurl -L -O \"https://github.com/n3d1117/bfdecrypt/raw/master/bfdecrypt.dylib\"\n\tscp bfdecrypt.dylib root@YOUR_DEVICE_IP:/Library/MobileSubstrate/DynamicLibraries/bfdecrypt.dylib\n\t```\n* SSH into your device (`ssh root@YOUR_DEVICE_IP`) and sign the dylib:\n\t```bash\n\tldid -S /Library/MobileSubstrate/DynamicLibraries/bfdecrypt.dylib\n\tkillall backboardd\n\t```\n* Then create needed folders **on device**:\n\t```bash\n\tcd /var/mobile/Library/AutoTouch/Scripts \u0026\u0026 mkdir -p CrackBot2\n\t```\n* Clone this repo on **your computer**:\n\t```bash\n\tcd ~/downloads/\n\tgit clone https://github.com/n3d1117/CrackBot2.git\n\t```\n* Copy AutoTouch script to device:\n\t```bash\n\tcd ~/downloads/CrackBot2/AutoTouch \n\tscp -r appstoredownload.lua images root@YOUR_DEVICE_IP:/var/mobile/Library/AutoTouch/Scripts/CrackBot2\n\t```\n* On your device open AutoTouch, go to `appstoredownload.lua`, click (i) -\u003e Playing settings -\u003e Trigger with activator -\u003e Select `Hold status bar`.\n* Open `bot` file with a text editor and, if needed, edit `DEVICE_IP` and `DEVICE_PORT` parameters with yours.\n* Done! You can now run the script from your computer:\n\t```bash\n\tcd ~/downloads/CrackBot2/ \n\t./bot\n\t```\n\n**NOTE**: Only free apps (or paid ones previously bought) are supported at the moment.\n\n## Credits\n* [bfdecrypt](https://github.com/BishopFox/bfdecrypt): Utility to decrypt App Store apps on jailbroken iOS 11.x\n* [level3tjg](https://level3tjg.xyz/repo/) for a preference-based bfdecrypt\n* [AutoTouch](https://autotouch.net): Record, playback, simulate human touching/pressing, run Lua scripts.\n* [Activator](https://rpetri.ch/cydia/activator/beta/): Centralized gestures, button and shortcut management for iOS\n\n## License\nLicensed under GNU General Public License v3.0. See [LICENSE](LICENSE) file for further information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn3d1117%2Fcrackbot2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn3d1117%2Fcrackbot2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn3d1117%2Fcrackbot2/lists"}