开发者

Detect HTTPS using SharpPCap

I am using SharpPCap to filter packets. Does anyone know how to detect if a packet is for a secured http c开发者_StackOverflow中文版onnection?


You would have to sniff the traffic from the start of the TCP session to observe the SSL handshake go back and forth. Once the encrypted session is set up, any individual packet is going to be indistinguishable from random noise.

To discover otherwise is to find a major flaw in the symmetric cipher. (Yes, the encryption really is that good.)

Of course, having a destination of port 443 is a hint that you are looking at an https connection... But that is just a convention.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜