find-ios-app-by-display-name
4 views
ee27f809...
Description
Look up the location of an iOS app on the device using the name displayed under the icon.
How to Use
Download the script and run it with Frida CLI:
Download ScriptThen run with Frida:
frida -U -f YOUR_PACKAGE_NAME -l find-ios-app-by-display-name.js
Replace YOUR_PACKAGE_NAME with the target app's package name.
Source Code
JavaScript
'use strict';
// usage: frida -U --codeshare dki/find-ios-app-by-display-name Springboard
function find(name) {
var ws = ObjC.classes.LSApplicationWorkspace.defaultWorkspace();
var apps = ws.allInstalledApplications();
for (var i = 0; i < apps.count(); i++) {
var proxy = apps.objectAtIndex_(i);
if (proxy.localizedName().toString() == name) {
var out = {};
out["bundleIdentifier"] = proxy.bundleIdentifier().toString();
out["bundleURL"] = proxy.bundleContainerURL().toString();
out["dataURL"] = proxy.dataContainerURL().toString();
out["executable"] = [proxy.bundleURL().toString(), proxy.bundleExecutable().toString()].join('/');
return out;
}
}
}
Comments