{"id":19052660,"url":"https://github.com/thegoodduck/netsour","last_synced_at":"2025-03-02T23:12:15.771Z","repository":{"id":249204484,"uuid":"830249177","full_name":"thegoodduck/NetSour","owner":"thegoodduck","description":"CLI based packet reader in Python.","archived":false,"fork":false,"pushed_at":"2024-08-29T23:03:18.000Z","size":72,"stargazers_count":101,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T22:16:06.872Z","etag":null,"topics":["cli","curses","packet-capture","packet-sniffer","python3","scapy","tui"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thegoodduck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-17T22:46:45.000Z","updated_at":"2024-12-07T17:52:55.000Z","dependencies_parsed_at":"2024-07-19T08:55:10.984Z","dependency_job_id":"d1d05e6c-d9bf-4bcc-8f64-8a7de0ee853e","html_url":"https://github.com/thegoodduck/NetSour","commit_stats":null,"previous_names":["thegoodduck/netsour"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thegoodduck%2FNetSour","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thegoodduck%2FNetSour/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thegoodduck%2FNetSour/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thegoodduck%2FNetSour/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thegoodduck","download_url":"https://codeload.github.com/thegoodduck/NetSour/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241582556,"owners_count":19985845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","curses","packet-capture","packet-sniffer","python3","scapy","tui"],"created_at":"2024-11-08T23:27:30.729Z","updated_at":"2025-03-02T23:12:15.748Z","avatar_url":"https://github.com/thegoodduck.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NetSour\n\nNetSour is a network packet sniffer and analyzer tool built with Python and Scapy.\n\n## Features\n\n- Real-time packet capture and display\n- Packet analysis and hexdump view\n- DoS (Denial of Service) attack detection\n- Support for various protocols (TCP, UDP, ARP, etc.)\n- Interactive curses-based user interface\n\n## Requirements\n\n- Python 3.x\n- Scapy\n- Root/Administrator privileges (for packet sniffing)\n\n## Installation\n\n1. Clone this repository\n2. Install the required dependencies:\n\n\n\npip install -r requirements.txt\n\n\n## Usage\n\nRun the script with root privileges:\n\n\n\n\nsudo python main.py\n[![asciicast](https://asciinema.org/a/AWJUNdcp7HW1bAnN13fjkkMLA.svg)](https://asciinema.org/a/AWJUNdcp7HW1bAnN13fjkkMLA)\n\n1. Enter the network interface name when prompted\n2. Use arrow keys to navigate through captured packets\n3. Press 'a' to analyze a specific packet\n4. Press 'q' to quit the application\n\n## Functions\n\n- `is_root()`: Checks if the script is running with root privileges\n- `process_packet()`: Extracts and formats packet information\n- `sniff_packets()`: Captures network packets using Scapy\n- `detect_dos()`: Identifies potential DoS attacks\n- `display_packets()`: Manages the main user interface\n- `analyze_packet()`: Provides detailed analysis of a selected packet\n\n## Note\n\nThis tool is for educational and network administration purposes only. Always obtain proper authorization before monitoring network traffic.\n\n## License\n\nGpl V3\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthegoodduck%2Fnetsour","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthegoodduck%2Fnetsour","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthegoodduck%2Fnetsour/lists"}