NetSour
CLI based packet reader in Python.
Install / Use
/learn @thegoodduck/NetSourREADME
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
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
