Skip to content

A C program to snipping packets witch pass network card

Notifications You must be signed in to change notification settings

AhmadZafarani/packet-sniffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packet sniffing program

to install and use the project, follow bellow steps:

  1. clone the project

  2. install dependencies : $ sudo apt-get install libpcap

  3. build and run the program with "SUDO" privilages:

    $ gcc capture.c -o capture.o -lpcap

    $ sudo ./capture.o

this program captures HTTP packets witch goes over '127.2.3.4' - port 8000

you can use the custom client-server program (written in python 3) to test the C program.

update: now capturing DNS packets too.

update: now hijacking sessions.

update: now reports all ip packets data.

About

A C program to snipping packets witch pass network card

Resources

Stars

Watchers

Forks