list-ios-apps

by
3 views 2974ee10...

Description

Prints a list of all installed iOS apps.

How to Use

Download the script and run it with Frida CLI:

Download Script

Then run with Frida:

frida -U -f YOUR_PACKAGE_NAME -l list-ios-apps.js

Replace YOUR_PACKAGE_NAME with the target app's package name.

Source Code

JavaScript
/* Lists all installed apps on iOS
   Example: frida --codeshare sdcampbell/list-ios-apps -U -n SpringBoard
*/

ObjC.schedule(ObjC.mainQueue, function() {
    var workspace = ObjC.classes.LSApplicationWorkspace.defaultWorkspace();
    var apps = workspace.allApplications();
    var appEnumerator = apps.objectEnumerator();
    var app;
    while ((app = appEnumerator.nextObject()) !== null) {
        console.log(app.applicationIdentifier().toString() + ": " + app.localizedName().toString());
    }
});
Share this script:
Twitter LinkedIn

Comments

Login or Sign up to leave a comment.
Loading comments...