MASTG-TECH-0057: 列出已安装应用

当以设备上安装的应用为目标时,首先需要确定要分析的应用程序的正确 bundle identifier。您可以使用 frida-ps -Uai 获取当前安装在连接的 USB 设备 (-U) 上的所有应用 (-a) (-i)

$ frida-ps -Uai
 PID  Name                 Identifier
----  -------------------  -----------------------------------------
6853  iGoat-Swift          OWASP.iGoat-Swift
6847  Calendar             com.apple.mobilecal
6815  Mail                 com.apple.mobilemail
   -  App Store            com.apple.AppStore
   -  Apple Store          com.apple.store.Jolly
   -  Calculator           com.apple.calculator
   -  Camera               com.apple.camera

它还会显示哪些应用程序当前正在运行(例如, iGoat-Swift)。记下 "Identifier"(bundle identifier:OWASP.iGoat-Swift)和 PID(6853),因为您在进一步分析中需要它们。

您还可以直接打开 Grapefruit,选择您的 iOS 设备后,您将获得已安装应用的列表。