{"id":13410800,"url":"https://github.com/ChiChou/bagbak","last_synced_at":"2025-03-14T16:33:00.553Z","repository":{"id":33501547,"uuid":"135033395","full_name":"ChiChou/bagbak","owner":"ChiChou","description":"Yet another frida based iOS dumpdecrypted. Also decrypts app extensions","archived":false,"fork":false,"pushed_at":"2024-09-28T18:23:11.000Z","size":2089,"stargazers_count":1225,"open_issues_count":2,"forks_count":194,"subscribers_count":35,"default_branch":"main","last_synced_at":"2024-10-29T15:34:22.592Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChiChou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"ChiChou"}},"created_at":"2018-05-27T09:40:26.000Z","updated_at":"2024-10-29T04:43:21.000Z","dependencies_parsed_at":"2024-01-06T01:05:04.281Z","dependency_job_id":"24107709-b228-4da2-9082-df95f576ba5a","html_url":"https://github.com/ChiChou/bagbak","commit_stats":{"total_commits":169,"total_committers":5,"mean_commits":33.8,"dds":"0.10059171597633132","last_synced_commit":"b30019b79380e3737647b4979f23d40b9a47b77d"},"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChiChou%2Fbagbak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChiChou%2Fbagbak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChiChou%2Fbagbak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChiChou%2Fbagbak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChiChou","download_url":"https://codeload.github.com/ChiChou/bagbak/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243410256,"owners_count":20286390,"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":[],"created_at":"2024-07-30T20:01:09.313Z","updated_at":"2025-03-14T16:33:00.482Z","avatar_url":"https://github.com/ChiChou.png","language":"JavaScript","funding_links":["https://github.com/sponsors/ChiChou","https://github.com/sponsors/chichou"],"categories":["JavaScript","Tools","JavaScript (485)","Инструменты анализа","Uncategorized","\u003ca id=\"f24f1235fd45a1aa8d280eff1f03af7e\"\u003e\u003c/a\u003eFrida","Powered by Frida","Awesome Mobile Application Penetration Testing  ![awesome](https://awesome.re/badge.svg)"],"sub_categories":["Reverse Engineering Tools","Uncategorized","\u003ca id=\"a5336a0f9e8e55111bda45c8d74924c1\"\u003e\u003c/a\u003e工具","iOS Application Penetration Testing"],"readme":"# bagbak\n\n[![version](https://img.shields.io/npm/v/bagbak)]((https://www.npmjs.com/package/bagbak))\n[![downloads](https://img.shields.io/npm/dm/bagbak)](https://www.npmjs.com/package/bagbak)\n[![issues](https://img.shields.io/github/issues/chichou/bagbak)](https://github.com/chichou/bagbak/issues)\n[![sponsers](https://img.shields.io/github/sponsors/chichou)](https://github.com/sponsors/chichou)\n[![license](https://img.shields.io/github/license/chichou/bagbak)](LICENSE)\n\nYet another frida based App decryptor. Requires jailbroken iOS device and [frida.re](https://www.frida.re/)\n\nTested on iOS 15 (Domapine) and iOS 16 (palera1n).\n\n[![demo](images/screen.gif)](https://github.com/user-attachments/assets/87695cbe-08cc-4f0e-9242-e6c251ccac1d)\n\n*The name of this project doesn't have any meaning. I was just listening to that song while typing.*\n\n[FAQ](https://github.com/ChiChou/bagbak/wiki#faq)\n\n## Prerequisites\n\n### On device\n\nWith Cydia or Sileo:\n\n* [frida.re](https://www.frida.re/docs/ios/)\n\n### On desktop\n\n* [node.js](https://nodejs.org/). 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.\n* `zip` or `7z` command is needed to create zip archive. On most of the distros, you don't need to install them manually.\n\n### Windows Compatibility\n\n* 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.\n\n## Install\n\n```\nnpm install -g bagbak\n```\n\n## Usage\n\nbagbak [bundle id or name]\n\n```\nOptions:\n  -l, --list             list apps\n  -U, --usb              connect to USB device (default)\n  -R, --remote           connect to remote frida-server\n  -D, --device \u003cuuid\u003e    connect to device with the given ID\n  -H, --host \u003chost\u003e      connect to remote frida-server on HOST\n  -f, --force            override existing files\n  -d, --debug            enable debug output\n  -r, --raw              dump raw app bundle to directory (no ipa)\n  -o, --output \u003coutput\u003e  ipa filename or directory to dump to\n  -h, --help             display help for command\n```\n\nEnvironments variables:\n\n* `DEBUG=1` enable debug output for troubleshooting\n* `DEBUG_SCP=1` debug SCP protocol\n* `SSH_USERNAME` username for iPhone SSH, default to `root`\n* `SSH_PASSWORD` password for iPhone SSH, default to `alpine`\n* `SSH_PORT` port for iPhone SSH. If not given, bagbak will scan port 22 (OpenSSH) and port 44 (Dropbear)\n\n\nExample:\n\n* `bagbak -l` to list all apps\n* `bagbak --raw Chrome` to dump the app to current directory\n* `bagbak com.google.chrome.ios` to dump app to `com.google.chrome.ios-[version].ipa`\n\n## 国内用户 frida 安装失败问题\n\n[使用国内镜像加速安装](https://github.com/chaitin/passionfruit/wiki/%E4%BD%BF%E7%94%A8%E5%9B%BD%E5%86%85%E9%95%9C%E5%83%8F%E5%8A%A0%E9%80%9F%E5%AE%89%E8%A3%85#%E9%A2%84%E7%BC%96%E8%AF%91%E5%8C%85%E5%A4%B1%E8%B4%A5)\n\n\u003cp align=\"center\"\u003e想看更多中文技术分享？欢迎关注我的公众号\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimage src=\"images/weixin.jpg\" width=\"240\" /\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChiChou%2Fbagbak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FChiChou%2Fbagbak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChiChou%2Fbagbak/lists"}