fruity-frida v0.0.18
fruity-frida
Utils for deploying frida to rootless iOS and more
Installation
So many people reported that they failed to get prebuilt frida node package. If it's the first time you use nodejs, I recommend you to use LTS (Long-term support).
For example, on macOS with homebrew and nvm:
brew install nvm
nvm install --lts
nvm use --ltsThen install the package:
npm install -g fruity-fridaCommands
ios-shellopen a shell to iOS using default credentials (root/alpine). iproxy is automatically included so you don't need extra steps.ios-debugdebug process or apps on jailbroken iOS. Automatically deploy debugserver, do the port forwarding and connect to it.ios-pullpull files and directories from iOSiproxy-jsiproxy written in jsrun-frida-serverautomatically download, deploy frida-server to iOS and start it. Supports checkm8 based rootless environments.get-ios-gadgetdownload gadget-ios.dylib from GitHub
ios-debug
ios-debug attach <process name or pid>attach to running processios-debug app <app name or bundle id>spawn or attach to app by name or bundle idios-debug appslist all apps
Common Command Line Flags
By default, all the scripts choose one of your iDevices connected to USB. These frida options are supported.
-U, --usb connect to USB device
-R, --remote connect to remote frida-server
-D, --device <uuid> connect to device with the given ID, useful when you have multiple devices
-H, --host <host> connect to remote frida-server on HOST
-h, --help display help for commandSSH Environment Variables
The default credentials for ssh is mobile / alpine.
You can change them by setting environment variables:
SSH_PRIVATE_KEY, SSH_PASSPHRASE, SSH_PORT, SSH_USERNAME, SSH_PASSWORD.
However, I can't guarantee they will work, since the lockdown (a protocol to talk to your devices, just like libimobiledevices) functions from frida-node seems to only support USB connections.