iOS逆向 | 动态调试常见问题

2,808 阅读1分钟

在配置动态调试的过程中,遇到几个问题,特此记录。

参考资料

www.iosre.com/t/ios12-deb…

问题一

执行debugserver附加进程的时候报错,如下

debugserver *:端口号 -a 进程 
Failed to get connection from a remote gdb process. Exiting.

解决方式

删除debugserver 的以下权限,重新签名。

com.apple.security.network.server
com.apple.security.network.client
seatbelt-profiles

问题二

远程连接 iphone上的 debugserver。 始终连接不上。

process connect connect://localhost:端口号

解决方式

指定使用ipv4地址 手机:

debugserver 127.0.0.1:端口号 -a 进程

电脑:

process connect connect://127.0.0.1:端口号