This program is written in C++ using visual studio IDE. So the compilation and build is quite simple. Because we use Wincap API, so first we need to tell visual studio where is the “Include” and “lib” folder of Wincap development package. After the “sniffer.exe” we can run it through command line “sniffer [80|21|23] filename”, where the number “80”,” 21”,” 23” represent the port number of http, ftp and telnet respectively. The “filename” represent the corresponding trace file (x.pcap) we want to load. The program will print all the sessions of a certain protocol to the console.
-
Notifications
You must be signed in to change notification settings - Fork 0
keminming/sniffer
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
network traffic sniffer using winpcap
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published