Frida on iOS
frida-ps
This is a command line tool for listing listing processes.
The option -U is used to connect to the attached USB device
show running apps
frida-ps -Ua
show installed applications
frida-ps -Uai
start frida gadget
# Hook into the process of the running UnCrackable1 app
frida -U UnCrackable1
Access a Class
UIApplication = Objc.classes.UIApplication
Call a method
# Get the shared UIApplication
sharedApplication = UIApplication.sharedApplication()
# Get the key window
window = sharedApplication.keyWindow()
# Get the root view controller
rootVC = window.rootViewController()
# Get the main view
mainView = mainView = rootVC.view()
# Show the contents of the view
mainView.recursiveDescription().toString()
Last updated
Was this helpful?