Unix domain socket抓包工具

1 socat
socat -t100 -x -v UNIX-LISTEN:/dev/socket/sock.socat,mode=777,reuseaddr,fork UNIX-CONNECT:/dev/socket/sock 2>/data/my_socket.log &

/dev/socket/sock is created by Android deamon
/dev/socket/sock.socat is created by socat
Framework or client APPs connect to /dev/socket/sock.socat

-t<timeout>    wait seconds before closing second channel
-x     verbose data traffic, hexadecimal
-v     verbose data traffic, text

Unix domain socket抓包工具Unix domain socket抓包工具 George-seu 发布了115 篇原创文章 · 获赞 46 · 访问量 31万+ 私信 关注
上一篇:03:Django(路由层部分)


下一篇:Django建表