简体   繁体   English

在 XCode 模拟器上使用 Frida

[英]Using Frida on XCode Simulator

Does anyone has experience with setting up Frida to work with XCode Simulator?有没有人有设置 Frida 以使用 XCode Simulator 的经验? I have been searching online but this is the closest thing I've got ( https://programmersought.com/article/54464074345/ ) However, when I compile and run the app on simulator, I did not see what was described in "quick smoke test".我一直在网上搜索,但这是我得到的最接近的东西( https://programmersought.com/article/54464074345/ )但是,当我在模拟器上编译和运行应用程序时,我没有看到“快速冒烟测试”。 Any help is very appreciated !非常感谢任何帮助!

As iOS simulator is essentially running apps on your native mac OS host, you can interacts with apps directly as if they are running on your machine.由于 iOS 模拟器本质上是在您的本机 mac OS 主机上运行应用程序,因此您可以直接与应用程序交互,就像它们在您的机器上运行一样。

In a nutshell:简而言之:

  • Don't use -U argument as iOS simulator is not a USB device不要使用-U参数,因为 iOS 模拟器不是 USB 设备
  • frida-ps should give you a list of running processes, including the apps running on the simulator. frida-ps应该给你一个正在运行的进程列表,包括在模拟器上运行的应用程序。
  • The rest of the APIs should work in the same way they do for mac OS host.其余的 API 应该以与 mac OS 主机相同的方式工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM