Skip to content

MPranav1/LiteSniff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

LiteSniff

This Python script is designed to capture and analyze raw IP packets using a raw socket. It extracts various details from the IP header, such as version, header length, type of service, length, identification, flags, fragment offset, time to live, protocol, checksum, source address, and destination address.

Prerequisites

Before running the script, ensure you have the following:

  • Python installed on your system.
  • Admin or root privileges may be required to run the script (especially on Windows).

Usage

  1. Clone the repository:

    git clone LiteSniff

    cd LiteSniff

  2. Run the script:

    python sniffer.py Make sure to use Python 3.

Important Note

  • This script uses raw sockets and may require elevated privileges.
  • The script is currently configured to capture all IP packets on the network interface.
  • Ensure that you have the necessary permissions to run raw socket operations.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages