如何使用python控制Wireshark?
How to control Wireshark using python?
如何使用python控制Wireshark?
我感觉到 X Y 问题。 UI 适用于用户,不能以编程方式进行操作。
而是看看....
Wireshark 工具
tshark
- Dump and analyze network traffic
TShark is a network protocol analyzer. It lets you capture packet data
from a live network, or read packets from a previously saved capture
file, either printing a decoded form of those packets to the standard
output or writing the packets to a file. TShark's native capture file
format is pcap format
dumpcap
- Dump network traffic
Dumpcap is a network traffic dump tool. It lets you capture packet
data from a live network and write the packets to a file. Dumpcap's
default capture file format is pcapng format. When the -P option is
specified, the output file is written in the pcap format.
Fiddler(见评论)
Fiddler supports a variety of command line arguments that control
various options:
Fiddler Command-Line Help
Usage:
fiddler.exe [options] [FileToLoad.saz]
其他
tcpdump(以上大部分都是基于这个或者用这个)
This is the official web site of tcpdump, a powerful command-line
packet analyzer; and libpcap, a portable C/C++ library for network
traffic capture.
如何使用python控制Wireshark?
我感觉到 X Y 问题。 UI 适用于用户,不能以编程方式进行操作。
而是看看....
Wireshark 工具
tshark
- Dump and analyze network trafficTShark is a network protocol analyzer. It lets you capture packet data from a live network, or read packets from a previously saved capture file, either printing a decoded form of those packets to the standard output or writing the packets to a file. TShark's native capture file format is pcap format
dumpcap
- Dump network trafficDumpcap is a network traffic dump tool. It lets you capture packet data from a live network and write the packets to a file. Dumpcap's default capture file format is pcapng format. When the -P option is specified, the output file is written in the pcap format.
Fiddler(见评论)
Fiddler supports a variety of command line arguments that control various options:
Fiddler Command-Line Help Usage:
fiddler.exe [options] [FileToLoad.saz]
其他
tcpdump(以上大部分都是基于这个或者用这个)
This is the official web site of tcpdump, a powerful command-line packet analyzer; and libpcap, a portable C/C++ library for network traffic capture.