A packet analyzer with enhanced features like Nmap scanning and geolocation
Project description
NetSour
NetSour is a network packet sniffer and analyzer tool built with Python and Scapy.
Features
- Real-time packet capture and display
- Packet analysis and hexdump view
- DoS (Denial of Service) attack detection
- Support for various protocols (TCP, UDP, ARP, etc.)
- Interactive curses-based user interface
Requirements
- Python 3.x
- Scapy
- Root/Administrator privileges (for packet sniffing)
Installation
- Clone this repository
- Install the required dependencies:
pip install -r requirements.txt
Usage
Run the script with root privileges:
- Enter the network interface name when prompted
- Use arrow keys to navigate through captured packets
- Press 'a' to analyze a specific packet
- Press 'q' to quit the application
Functions
is_root(): Checks if the script is running with root privilegesprocess_packet(): Extracts and formats packet informationsniff_packets(): Captures network packets using Scapydetect_dos(): Identifies potential DoS attacksdisplay_packets(): Manages the main user interfaceanalyze_packet(): Provides detailed analysis of a selected packet
Note
This tool is for educational and network administration purposes only. Always obtain proper authorization before monitoring network traffic.
License
Gpl V3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file netsour-0.1.0.tar.gz.
File metadata
- Download URL: netsour-0.1.0.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0c77a1c23f65e8b0f95ebdb05c19d2589620d8971198ffa685c1e93d3df81a4
|
|
| MD5 |
45e91e4bf40f7ada1611d7002721b6b0
|
|
| BLAKE2b-256 |
62d490da7cc676b29b36251d19921e53b721376b8a998ba2a6ae80bb970ec8c5
|
File details
Details for the file netsour-0.1.0-py3-none-any.whl.
File metadata
- Download URL: netsour-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
765145d232a7a2797e645366d38aaa0f42a3d59e9adfeed56e11df4714ff9d8a
|
|
| MD5 |
94c82bf8ffb893920ae8795c003567aa
|
|
| BLAKE2b-256 |
7fcb5ee7a22145de097beb53e67a8a12c19605af3dc9907549afa7b22b05afd6
|