Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeAlpha_BasicNetworkSniffer.

A Python-based network packet sniffer built using Scapy to capture and analyze network traffic.

Basic Network Sniffer

📌 Overview

This project is a simple Network Packet Sniffer developed using Python and the Scapy library. It captures live network packets and displays important packet information such as Source IP, Destination IP, Protocol, Ports, and Packet Length.

This project was created as part of a Cyber Security Internship to understand network traffic analysis and packet inspection.


🚀 Features

  • Capture live network packets
  • Display Source IP Address
  • Display Destination IP Address
  • Detect TCP and UDP protocols
  • Display Source and Destination Ports
  • Display Packet Length
  • Lightweight and easy to understand

🛠 Technologies Used

  • Python 3
  • Scapy Library

📦 Installation

Install Scapy using pip:

pip install scapy

▶️ How to Run

Run the following command:

py network_sniffer.py

The program will start capturing live network packets.

Press Ctrl + C to stop the program.


📷 Sample Output

Add your screenshot here after uploading it to GitHub.

images/output.png

Then display it using:

![Network Sniffer Output](images/output.png)

📁 Project Structure

Basic-Network-Sniffer/
│
├── network_sniffer.py
├── README.md
├── requirements.txt
├── LICENSE
└── images/
    └── output.png

🎯 Learning Outcomes

  • Understood packet capturing using Scapy.
  • Learned about IP, TCP, and UDP protocols.
  • Analyzed source and destination addresses.
  • Observed how network packets travel through a network.

👨‍💻 Author

Manoj Kumar S

Cyber Security Internship Project

About

A Python-based network packet sniffer built using Scapy to capture and analyze network traffic.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages