Skip to content

Latest commit

Β 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ› οΈ Packet Analyzer πŸš€

Packet Analyzer is a command-line tool designed to analyze .pcap and .pcapng files, filter specific protocols, and highlight specific keywords within packet content. It provides a simple and efficient way to inspect network traffic and extract meaningful information with custom keyword highlighting.


🌟 Features

  • 🌐 Protocol Filtering: Supports HTTP, DNS, ICMP, TCP, and UDP.
  • πŸ” Keyword Highlighting: Detects and highlights specified keywords in packet data.
  • πŸ“Š Packet Summaries: Provides packet summaries for quick analysis.

πŸš€ Installation

  1. Clone the repository:
git clone https://github.com/yourusername/PacketAnalyzer.git
cd PacketAnalyzer
  1. Install the required packages:
pip install -r requirements.txt

πŸ› οΈ Usage

Run the tool using the command below:

python analyzer.py <file_path> -p <protocol> -k <keyword1> <keyword2>

Parameters:

  • <file_path> : Path to the .pcap or .pcapng file.
  • -p / --protocol : Protocol to filter (http, dns, icmp, tcp, udp).
  • -k / --keywords : Space-separated list of keywords to highlight.

πŸ“¦ Examples

  1. Filter HTTP packets and search for keywords:
python analyzer.py data/sample.pcapng -p http -k admin login
  1. Analyze all packets without filtering and search for keywords:
python analyzer.py data/sample.pcapng -k password session
  1. Only display TCP packets without keyword search:
python analyzer.py data/sample.pcapng -p tcp

πŸ“’ Contact

For any questions or feedback, feel free to reach out:

About

network traffic analysis tool

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages