{"id":26411315,"url":"https://github.com/livepwn/livepacket","last_synced_at":"2025-03-17T20:33:13.705Z","repository":{"id":280156224,"uuid":"941146801","full_name":"livepwn/livepacket","owner":"livepwn","description":"LivePacket is a powerful, real-time network protocol analyzer designed to capture, inspect, and analyze network traffic. With support for protocols like TCP, UDP, and HTTP.","archived":false,"fork":false,"pushed_at":"2025-03-01T16:04:28.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T16:32:51.521Z","etag":null,"topics":["ctf-tools","hacking","hacking-tool","networking-tools","osint-tool","scanner","vulndev"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/livepwn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-03-01T15:50:40.000Z","updated_at":"2025-03-01T16:04:31.000Z","dependencies_parsed_at":"2025-03-01T16:43:45.226Z","dependency_job_id":null,"html_url":"https://github.com/livepwn/livepacket","commit_stats":null,"previous_names":["livepwn/livepacket"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livepwn%2Flivepacket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livepwn%2Flivepacket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livepwn%2Flivepacket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livepwn%2Flivepacket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/livepwn","download_url":"https://codeload.github.com/livepwn/livepacket/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244105701,"owners_count":20398903,"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":["ctf-tools","hacking","hacking-tool","networking-tools","osint-tool","scanner","vulndev"],"created_at":"2025-03-17T20:31:44.249Z","updated_at":"2025-03-17T20:33:13.687Z","avatar_url":"https://github.com/livepwn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Live Packet\n## [Protocol Analyzer]\n### A Python-based network protocol analyzer built using the scapy library. This tool captures and analyzes network traffic for protocols like TCP, UDP, and HTTP. It provides an interactive command-line interface (CLI) for users to select protocols and analyze packets in real-time.\n\n## **Features**\n### 1: Protocol Analysis: Supports TCP, UDP, and HTTP traffic analysis.\n\n### Interactive CLI: User-friendly menu for selecting protocols and specifying the number of packets to capture.\n\n### Payload Decoding: Decodes and displays HTTP payloads for easier analysis.\n\n### Cross-Platform: Works on Linux, macOS, and Windows (with appropriate permissions).\n\n## Installation\n### Prerequisites\n- Python 3.x\n\n- scapy library\n\n## Steps\n- Clone the repository:\n\n```\ngit clone https://github.com/livepwn/livepacket.git\n\ncd livepacket\n```\n- Install the required dependencies:\n```\npip install scapy\n```\n- Run the script:\n\n\n```\nchmod +x livepacket.py\nor\nsudo python livepacket.py\n\nNote: sudo is required for packet capture on most systems.\n```\n\n## Usage\nRunning the Analyzer\nStart the script:\n```\nsudo python liveport.py\nFollow the on-screen prompts:\n\nSelect a protocol to analyze (TCP, UDP, or HTTP).\n\nSpecify the number of packets to capture.\n\nView the captured packets and analysis in real-time.\n\nExample\nCopy\n=== Protocol Analyzer ===\n1. Analyze TCP Traffic\n2. Analyze UDP Traffic\n3. Analyze HTTP Traffic\n4. Exit\nEnter your choice (1-4): 3\nEnter the number of packets to capture: 5\n[*] Starting protocol analyzer for HTTP...\n\n[+] TCP Packet Detected\nSource IP: 192.168.1.100\nDestination IP: 192.168.1.1\nSource Port: 54321\nDestination Port: 80\nPayload: b'GET / HTTP/1.1\\r\\nHost: example.com\\r\\n\\r\\n'\n[!] HTTP Traffic Detected\nHTTP Data: GET / HTTP/1.1\nHost: example.com\n\nDo you want to analyze another protocol? (y/n): n\n[*] Exiting...\n```\n## Advantages\n### **Ease of Use:**\n  - The interactive CLI makes it easy for users to select protocols and analyze traffic without needing to write custom scripts.\n\n### **Real-Time Analysis:**\n\n- Captures and analyzes packets in real-time, providing immediate insights into network traffic.\n\n### **Extensible:**\n\n- The modular design allows for easy addition of new protocols and features.\n\n### **Lightweight:**\n\n- Built with Python and scapy, the tool is lightweight and does not require heavy dependencies.\n\n### Supported Protocols\n| Protocol | Description                          |\n|----------|--------------------------------------|\n| TCP      | Analyzes TCP packets and payloads.   |\n| UDP      | Analyzes UDP packets and payloads.   |\n| HTTP     | Analyzes HTTP traffic on port 80.    |\n\n\n## Future Enhancements\n\n- HTTPS Support: Add support for analyzing HTTPS traffic (port 443).\n\n- Packet Saving: Save captured packets to a .pcap file for offline analysis.\n\n- Advanced Filtering: Add filters for IP addresses, port ranges, and specific protocols.\n\n- GUI: Develop a graphical user interface (GUI) for easier interaction.\n\n\n\n## Acknowledgments\n- Scapy: The powerful Python library used for packet manipulation and analysis.\n\n- Python Community: For providing excellent resources and support.\n\n## Contact\n- For questions or feedback, please open an issue on GitHub or contact:\n\nYour Name: livepwn@gmail.com\n\nGitHub: [livepwn](https://github.com/livepwn)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivepwn%2Flivepacket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flivepwn%2Flivepacket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivepwn%2Flivepacket/lists"}