musakacmaz / network-sniffer

A network sniffer that can intercept and log traffic passing over a digital network or part of a network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

network-sniffer

A network sniffer that can intercept and log traffic passing over a digital network or part of a network written in python3.

Prerequisites

You need to run this program on a Linux operating system.

Setup and Run

Get the code by either cloning this repository using git then change the directory.

cd network-sniffer

Compile and run the program by using command below.

sudo python3 sniffer.py face 5

“face” is the output .pcap file. User doesn’t need to write .pcap extension. “5” is the desired time in seconds.

The program saves the captured packets into a pcap file automatically. You can open the output pcap file by Wireshark.

About

A network sniffer that can intercept and log traffic passing over a digital network or part of a network.

License:MIT License


Languages

Language:Python 100.0%