A simple utility for jailbroken iOS devices to manage the network port used by frida-server.
- Allows setting a custom listening port (e.g.,
12345).
Frida is a powerful dynamic instrumentation toolkit widely used in mobile security research and development. By default, its server component (frida-server) on iOS listens for connections on TCP port 27042.
FridaCtrl offers a convenient graphical user interface to modify the frida-server configuration (its LaunchDaemon .plist file) and reload the service, applying the port change without requiring manual SSH sessions, text editing, and launchctl commands.
If you prefer to change the port manually without using this app, you can do so via SSH:
- SSH into your device as the
rootuser. - Identify Plist Path: Determine the correct path for the
frida-serverLaunchDaemon plist:- Rootless:
/var/jb/Library/LaunchDaemons/re.frida.server.plist - Rootful (Legacy):
/Library/LaunchDaemons/re.frida.server.plistLet's refer to the correct path as<PLIST_PATH>.
- Rootless:
- Edit Plist: Use a command-line text editor like
nano:nano <PLIST_PATH>
- Modify Arguments: Navigate to the
<key>ProgramArguments</key>section. This contains an<array>of<string>elements.- To Set Custom Port (e.g., 12345):
- Add these two lines inside the
<array>(typically after thefrida-serverpath string):(Replace<string>-l</string> <string>0.0.0.0:12345</string>
12345with your desired port.0.0.0.0allows connections from other devices on the network.)
- Add these two lines inside the
- To Revert to Default Port:
- Find and remove the
<string>-l</string>line. - Find and remove the
<string>...</string>line immediately following it (the one with the custom port/address).
- Find and remove the
- To Set Custom Port (e.g., 12345):
- Save Changes: In
nano, pressCtrl+X, thenYto confirm saving, thenEnter. - Reload Service: Apply the changes using
launchctl:Thelaunchctl unload <PLIST_PATH> # The unload command might not produce anything if the service wasn't running. launchctl load <PLIST_PATH> # This command should also not print anything on success.
frida-servershould now be running (or restarted) with the updated configuration.
Developed by Vinay Kumar Rasala (Xplo8E) with ❤️
