https://github.com/zrainerzz/network-packet-analysis
**Packet Capture Tool** A Python-based tool using `pyshark` for real-time packet sniffing and pcap file analysis. Supports Windows and Unix-based systems. **Features:** - Live and file capture (TCP/all packets) - Color-coded output - Cross-platform support Ideal for network admins and cybersecurity professionals.
https://github.com/zrainerzz/network-packet-analysis
Last synced: about 1 year ago
JSON representation
**Packet Capture Tool** A Python-based tool using `pyshark` for real-time packet sniffing and pcap file analysis. Supports Windows and Unix-based systems. **Features:** - Live and file capture (TCP/all packets) - Color-coded output - Cross-platform support Ideal for network admins and cybersecurity professionals.
- Host: GitHub
- URL: https://github.com/zrainerzz/network-packet-analysis
- Owner: zRainerzz
- License: mit
- Created: 2024-11-25T13:39:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-25T13:41:54.000Z (over 1 year ago)
- Last Synced: 2025-02-06T23:30:55.427Z (over 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Packet Capture Tool
This Python-based network packet capture tool leverages the `pyshark` library for real-time packet sniffing and pcap file analysis. It supports both Windows and Unix-like systems, offering users the ability to capture and analyze network traffic using a variety of interfaces.
## Features:
- **Live Capture**: Capture packets in real-time from selected network interfaces with a user-friendly interface.
- **File Capture**: Read and analyze captured packets from a `.pcap` file. Supports TCP and all packet types.
- **Color-Coded Output**: Enhanced visibility through color-coded packet data for easier analysis and troubleshooting.
- **Cross-Platform**: Compatible with both Windows and Unix-based systems, including Linux and macOS.
## Usage:
1. Choose the network interface (Windows, Unix/Mac OS, or specialized).
2. Select between live capture or file-based packet analysis (TCP or all packets).
3. View captured packet data in a clear, color-coded format for efficient network monitoring.
## Requirements:
- Python 3.x
- `pyshark` library: Install it using `pip install pyshark`
## License:
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Contributing:
Feel free to fork this repository, create a branch, and submit a pull request. Contributions are welcome!
## Disclaimer:
This tool is intended for educational purposes only. Ensure you have the proper authorization before capturing network traffic.