frida server - jiaxw32/iNote GitHub Wiki
- frida-ps 测试远程连接
localhost:~ macbook$ frida-ps -H 192.168.0.103- 报错信息如下
Failed to enumerate processes: unable to connect to remote frida-serverfrida-server 是一个 daemon 应用程序,在后台运行。frida-server 默认安装在 /usr/sbin/frida-server
cydia6s:~ root# ps -e | grep frida-server
1397 ?? 0:00.04 /usr/sbin/frida-serverdaemon 应用程序会有一个 plist 配置文件,位于 /Library/LaunchDaemons/ 目录下。frida-server 对应的 plist 文件为 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>
</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-server 运行
launchctl unload -w re.frida.server.plist重新启动 frida-server 运行
launchctl load -w re.frida.server.plist