开发者

How can I capture and print packets from the internet on Windows?

开发者 https://www.devze.com 2022-12-21 04:50 出处:网络
How can I capture them? Is there any module/lib to 开发者_C百科do it? Please if it do, post an exampleIf you can install Wireshark, you can use it programaticaly from Python. (This isn\'t yet suppor

How can I capture them? Is there any module/lib to 开发者_C百科do it?

Please if it do, post an example


If you can install Wireshark, you can use it programaticaly from Python. (This isn't yet supported on Windows, as per bug 3500.)


You also have PyCap, a Python Packet Capture and Injection Library that seems to be platform independent.


Yet another packet sniffing module is Scapy, that I though didn't work on Windows, but was fortunately mistaken.

0

精彩评论

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