欢迎光临散文网 会员登陆 & 注册

越狱ios修改frida绑定地址

2023-02-04 15:43 作者:白月瑰  | 我要投稿

通用Cydia安装的frida-server绑定的地址是:localhost:27042,这样的问题就是无法通过局域网进行访问,只能连接usb后通过iproxy端口转发才能访问。

有什么办法不需要连接usb就能访问?

修改 /Library/LaunchDaemons/re.frida.server.plist 文件即可,内容如下

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>re.frida.server</string>
	<key>Program</key>
	<string>/usr/sbin/frida-server</string>
	<key>ProgramArguments</key>
	<array>
		<string>/usr/sbin/frida-server</string>
		<string>-l</string>
		<string>0.0.0.0</string>
	</array>
	<key>EnvironmentVariables</key>
	<dict>
		<key>_MSSafeMode</key>
		<string>1</string>
	</dict>
	<key>UserName</key>
	<string>root</string>
	<key>RunAtLoad</key>
	<true/>
	<key>KeepAlive</key>
	<true/>
	<key>ThrottleInterval</key>
	<integer>5</integer>
	<key>ExecuteAllowed</key>
	<true/>
</dict>
</plist>

重启frida服务

launchctl unload -w /Library/LaunchDaemons/re.frida.server.plist
launchctl load -w /Library/LaunchDaemons/re.frida.server.plist



越狱ios修改frida绑定地址的评论 (共 条)

分享到微博请遵守国家法律