开发者

"Intercept" flash socket with java

开发者 https://www.devze.com 2023-01-29 03:50 出处:网络
given a flash application that opens a sock开发者_如何学Cet connection to a webserver, is it possible to reads packets exchangedwith a java application, without redirect all the flash traffic ( that i

given a flash application that opens a sock开发者_如何学Cet connection to a webserver, is it possible to reads packets exchanged with a java application, without redirect all the flash traffic ( that is, without programming a socket proxy)?


What you are trying to do requires lower level network analysis than sockets. Namely libpcap and its Java bindings , jNetPcap. This will let you capture packets much in the same way wireshark does, but from Java. The other options are analysing Wireshark logs after an experiment and that can get clunky quite quickly. You may also consider writing a custom wireshark dissector.


The only way I can think is to modify the hosts file to list your Java server address as if it was the destination address.

BTW if your are only interested in examine the network traffic for that app, you could also use fiddler

0

精彩评论

暂无评论...
验证码 换一张
取 消