Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 334 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 334 Bytes

Sniffer

a network packet sniffer like tcpdump but can filter packet content that only contain some specific key use -c option

Build

install libpcap library

CentOS
yum install libpcap-devel

Ubuntu
apt-get install libpcap-dev

make

How to use

example:

./sniffer -i any -f capture.dat -c key_words -r 'port 80'