A simple packet sniffer GUI tool built with Python, Tkinter, and Pyshark. This tool allows users to capture network packets on a specified network interface and display packet information in real-time.
The Packet Sniffer GUI tool captures network packets on a specified network interface and displays detailed packet information in a user-friendly interface. It is built using Python's Tkinter for the GUI and Pyshark for packet capturing.
- Start/Stop Packet Capture: Easily start and stop packet capturing on a specified network interface.
- Real-time Packet Display: View detailed packet information in real-time within the GUI.
- Responsive GUI: The interface is designed to be responsive and user-friendly.
- Python 3.x
- Pip (Python package installer)
-
Clone the repository:
git clone https://github.com/Anandkp21/PRODIGY_CS_TASK_05.git
-
Navigate to the project directory:
cd packet-sniffer-gui
-
Install required dependencies:
pip install -r requirements.txt
Alternatively, you can install dependencies individually:
pip install tkinter pip install pyshark
-
Run the packet sniffer GUI:
python packet_sniffer_tool.py
-
Specify the network interface:
- Enter the name of the network interface you want to capture packets from in the "Interface" entry field.
-
Start and stop capturing:
- Click "Start Capture" to begin capturing packets.
- Click "Stop Capture" to stop capturing packets.
-
View captured packets:
- Packet information will be displayed in real-time in the text area of the GUI.
$ python packet_sniffer_tool.py
- Enter the network interface (e.g.,
eth0
,wlan0
) in the "Interface" field. - Click "Start Capture" to begin capturing packets.
- Packet information will be displayed in the text area.
- Click "Stop Capture" to end the capture session.
This project is licensed under the MIT License. See the LICENSE file for details.