fruity-frida v0.0.16
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 --lts
Then install the package:
npm install -g fruity-frida
Commands
ios-shell
open a shell to iOS using default credentials (root/alpine). iproxy is automatically included so you don't need extra steps.ios-debug
debug process or apps on jailbroken iOS. Automatically deploy debugserver, do the port forwarding and connect to it.ios-pull
pull files and directories from iOSiproxy-js
iproxy written in jsrun-frida-server
automatically download, deploy frida-server to iOS and start it. Supports checkm8 based rootless environments.get-ios-gadget
download 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 apps
list 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 command
SSH Environment Variables
The default credentials for ssh is root
/ 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.