Start Windump.exe at the command line
Parameter list:
-a resolves the network address to a name
-B Size Set the network data receive buffer size
-C count crawls only count number of packages
-D displays all available network adapters in the current system
-E Output Link layer information
-F File reads filter restrictions from File file
-I interface monitor the specified network adapter
-N does not resolve network addresses to names
-N does not print full name Domain Information
-Q Print Quick (less) packet infomation
-r file reads data from file
-S prints absolute TCP sequence numbers
s Snaplen captures Snaplen bytes from the packet; The default value is 68
-T does not print time stamps
-W file writes output to file
-X packets captured with 16-in and ASCII output
-x data captured with hexadecimal output
Use the example below:
C:/monitor>windump-s 200-x-W Testcap
This sentence means capturing the first 200 bytes of each packet, outputting it in hexadecimal and writing it to the Testcap file
Using filters
View all Ip:windump IP on the network
To view all data exchanged with a specified IP: windump IP host 192.168.1.6 (specify IP)
View all data sent from the specified IP to this computer: Windump IP src 192.168.1.6 (specify IP)
Capture all data sent from a specified network segment to this computer: Windump IP host 192.168.1 (specify IP network segment)