[英]How to change frida server port in android?
By default, the frida-server in android, after installing, runs on port 27042 (127.0.0.1:27042).默认情况下,android中的frida-server在安装后运行在端口27042(127.0.0.1:27042)上。 How can I change this port number to something else like 567 (127.0.0.1:567)?
如何将此端口号更改为 567 (127.0.0.1:567) 之类的其他内容? Is there any way?
有什么办法吗?
Since Frida version 6.2.6, you can connect to specific IP/port like this :从 Frida 6.2.6 版开始,您可以像这样连接到特定的 IP/端口:
# connect to specific IP/port
$ frida-trace -H ip:port -i "open*"
Sample :样品:
$ frida-trace -H 192.168.1.1:1234 -i "open*"
frida-server -l 0.0.0.0:19999 &
frida-ps -ai -H 192.168.0.38:19999
frida-server -l 127.0.0.1:567 &
where the interface address and port number are as you specified.其中接口地址和端口号与您指定的一样。
You can also use the all-interfaces IP address 0.0.0.0
您也可以使用所有接口的 IP 地址
0.0.0.0
frida-server -l 0.0.0.0:567 &
and then it will listen on port 567 on all interfaces, including 127.0.0.1
然后它将侦听所有接口上的端口 567,包括
127.0.0.1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.