Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

BlackHoleSecurity/packet_sniffer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

A simple packet sniffer using pcap library:

  • To install, clone the repo and then cd into the repo
  • Then run the following:
gcc sniffer.c -o sniffer -lpcap
  • Then after it compiles:
./sniffer ip 

You can also replace "ip" in 3 with tcp, arp, etc

The packet sniffer counts the packet number, packet length and displays the payload.

About

A packet sniffer using the PCAP library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%