1、macOS上使用frida-trace注入某进程时报错:
Failed to attach: unable to access process with pid 70153 from the current user account
解决:
关闭电脑的SIP功能:
1、重新启动您的Mac。
2、在OS X启动之前,按住 Command-R 并保持不动,直到看到Apple图标和进度条。发布。这将引导你进入恢复。
3、从 “实用工具” 菜单中选择 “终端”。
4、在提示符处输入以下内容,然后按回车键:
csrutil disable
5、终端应显示SIP被禁用的消息。
6、从菜单中选择 重新启动。
2、iOS13.1使用 unc0ver 越狱后,使用frida-trace报错:
Failed to spawn: unexpected error while preparing pipe endpoints for process with pid 1 (mach_port_allocate remote_rx returned '(os/kern) invalid task')
github上说是因为unc0ver 不支持:github.com/frida/frida…
我自己测试,使用unc0ver越狱后,卸载了手机上的 frida,重新安装手机的 frida,成功解决。(luoyanbei是本人账号)