越獄ios修改frida綁定地址

通用Cydia安裝的frida-server綁定的地址是:localhost:27042,這樣的問題就是無法通過局域網(wǎng)進(jìn)行訪問,只能連接usb后通過iproxy端口轉(zhuǎn)發(fā)才能訪問。
有什么辦法不需要連接usb就能訪問?
修改?/Library/LaunchDaemons/re.frida.server.plist 文件即可,內(nèi)容如下
<?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服務(wù)
launchctl unload -w /Library/LaunchDaemons/re.frida.server.plist
launchctl load -w /Library/LaunchDaemons/re.frida.server.plist
標(biāo)簽: