{"id":27446274,"url":"https://github.com/josephspace/swopy-network","last_synced_at":"2025-07-28T02:03:12.113Z","repository":{"id":287969574,"uuid":"966390731","full_name":"JosephSpace/Swopy-Network","owner":"JosephSpace","description":"Swopy Network Tool is a simple Python script I created to analyze local networks. It helps you scan your network, find devices, check internet speed, monitor traffic, and more, all from the command line. I made it user-friendly with colorful output and easy menus.","archived":false,"fork":false,"pushed_at":"2025-04-15T00:08:44.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T04:15:28.509Z","etag":null,"topics":["animation","menu","network","nmap","open-source","port-scanner","python","scan"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JosephSpace.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,"zenodo":null}},"created_at":"2025-04-14T21:10:23.000Z","updated_at":"2025-04-15T00:08:47.000Z","dependencies_parsed_at":"2025-04-15T04:15:29.115Z","dependency_job_id":null,"html_url":"https://github.com/JosephSpace/Swopy-Network","commit_stats":null,"previous_names":["josephspace/swopy-netwrok"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/JosephSpace/Swopy-Network","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosephSpace%2FSwopy-Network","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosephSpace%2FSwopy-Network/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosephSpace%2FSwopy-Network/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosephSpace%2FSwopy-Network/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JosephSpace","download_url":"https://codeload.github.com/JosephSpace/Swopy-Network/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosephSpace%2FSwopy-Network/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267451491,"owners_count":24089312,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["animation","menu","network","nmap","open-source","port-scanner","python","scan"],"created_at":"2025-04-15T04:15:27.671Z","updated_at":"2025-07-28T02:03:12.064Z","avatar_url":"https://github.com/JosephSpace.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swopy Network Tool\r\n\r\n![Swopy Network](https://img.shields.io/badge/Swopy-Network-blue)\r\n![Version](https://img.shields.io/badge/Version-1.2-green)\r\n![Python](https://img.shields.io/badge/Python-3.6%2B-yellow)\r\n![License](https://img.shields.io/badge/License-Open%20Source-brightgreen)\r\n![Ekran görüntüsü 2025-04-15 030524](https://github.com/user-attachments/assets/f9a53ef6-734f-47be-907f-504ff850005f)\r\n\r\n\r\n## Overview\r\n\r\nSwopy Network is a comprehensive network analysis and monitoring tool developed with Python. It offers various network-related functions including network scanning, device detection, traffic analysis, and more.\r\n\r\n## Features\r\n\r\nSwopy Network offers the following modules:\r\n\r\n1. **Comprehensive Network Scanning** - Performs ARP, Nmap TCP/UDP, and script scans to identify devices and open ports on your network\r\n2. **Network Device Detection** - Identifies devices on your network with detailed information about their types, manufacturers, and open ports\r\n3. **Network Speed Test** - Measures your internet connection's download speed, upload speed, and ping time\r\n4. **Network Live Log Capture** - Captures and records network traffic in real-time\r\n5. **Network Traffic Analysis** - Analyzes network traffic patterns and detects suspicious activities\r\n6. **Network Interface Information** - Provides detailed information about your network interfaces\r\n7. **Network Topology Mapping** - Creates a visual map of your network's topology\r\n8. **Phone Device Scanner** - Specifically detects and analyzes mobile devices on your network\r\n\r\n## Installation\r\n![ultra-ezgif com-video-to-gif-converter](https://github.com/user-attachments/assets/79fdb414-f6b3-492b-b3c0-12c40f89c209)\r\n### Prerequisites\r\n\r\n- Python 3.6 or higher version\r\n- Administrator privileges (especially for Windows users)\r\n\r\n### Required Python Packages\r\n\r\n```\r\npython-nmap\r\nscapy\r\ncolorama\r\nspeedtest-cli\r\nmanuf\r\npsutil\r\ntabulate\r\n```\r\n\r\n### Installation Steps\r\n\r\n1. Clone or download this repository:\r\n\r\n```bash\r\ngit clone https://github.com/JosephSpace/Swopy-Wifi.git\r\ncd Swopy-Wifi\r\n```\r\n\r\n2. **Recommended Method (Windows)**: Use the provided batch file for automatic setup:\r\n\r\n```bash\r\nrun.bat\r\n```\r\n\r\nThis batch file will:\r\n- Check if Python is installed\r\n- Install all required packages automatically\r\n- Launch the Swopy Network application\r\n\r\n3. **Alternative Method**: Manually install the required packages:\r\n\r\n```bash\r\npip install python-nmap scapy colorama speedtest-cli manuf psutil tabulate\r\n```\r\n\r\n4. For Windows users, you may need to install Npcap (https://npcap.com/) for packet capture functionality\r\n\r\n## Usage\r\n\r\nRun the script with administrator privileges:\r\n\r\n```bash\r\n# Recommended method (Windows)\r\nRight-click on run.bat and select \"Run as administrator\"\r\n\r\n# Alternative method (Windows)\r\nRight-click on Command Prompt or PowerShell and select \"Run as administrator\"\r\npython swopy-network.py\r\n\r\n# On Linux/macOS\r\nsudo python swopy-network.py\r\n```\r\n\r\nWhen launched, you will be presented with an options menu:\r\n\r\n```\r\n[01] Network Scanning          [02] Network Device Detection   [03] Network Speed Test      \r\n[04] Network Live Log Capture   [05] Network Traffic Analysis   [06] Network Interface Information  \r\n[07] Network Topology Mapping   [08] Phone Device Scanner       [99] Run All Modules         \r\n[50] About                      [00] Exit                      \r\n```\r\n\r\nSelect an option by entering the corresponding number.\r\n\r\n## Module Descriptions\r\n\r\n### 1. Network Scanning\r\n\r\nPerforms a comprehensive network scan using multiple techniques:\r\n- ARP scanning to discover devices on the local network\r\n- Nmap ping scan to verify host availability\r\n- Detailed TCP port scan to identify open services\r\n- UDP port scan to find UDP services\r\n- Script scan to detect potential vulnerabilities\r\n\r\n### 2. Network Device Detection\r\n\r\nDetects and identifies devices on your network with information about:\r\n- IP and MAC addresses\r\n- Device type (based on OS fingerprinting)\r\n- Manufacturer information (based on MAC address)\r\n- Open ports\r\n\r\n### 3. Network Speed Test\r\n\r\nMeasures the performance of your internet connection:\r\n- Download speed (Mbps)\r\n- Upload speed (Mbps)\r\n- Ping (ms)\r\n\r\n### 4. Network Live Log Capture\r\n\r\nCaptures and records network traffic in real-time:\r\n- Monitors selected network interface\r\n- Records packet information including source/destination IPs, ports, and protocols\r\n- Captures HTTP requests and DNS queries\r\n- Saves logs to a JSON file for later analysis\r\n\r\n### 5. Network Traffic Analysis\r\n\r\nAnalyzes network traffic patterns:\r\n- Captures packets for a specified duration\r\n- Shows protocol distribution (TCP, UDP, ICMP, etc.)\r\n- Calculates total data transferred\r\n- Detects suspicious activities such as potential SYN flood attacks\r\n\r\n### 6. Network Interface Information\r\n\r\nProvides detailed information about your network interfaces:\r\n- Lists all available interfaces\r\n- Shows IP and MAC addresses\r\n- Displays interface status and configuration\r\n\r\n### 7. Network Topology Mapping\r\n\r\nCreates a visual map of your network:\r\n- Identifies all devices on the network\r\n- Shows connections between devices\r\n- Provides manufacturer information\r\n- Saves topology data to a JSON file\r\n\r\n### 8. Phone Device Scanner\r\n\r\nSpecifically detects and analyzes mobile devices on your network:\r\n- Identifies smartphones and tablets\r\n- Shows device details including manufacturer and operating system\r\n- Scans for open ports on mobile devices\r\n- Captures and analyzes traffic from mobile devices\r\n\r\n## Output Files\r\n\r\nSome modules create output files for later analysis:\r\n- Network logs: `network_logs_YYYYMMDD_HHMMSS.json`\r\n- Network topology: `topology_YYYYMMDD_HHMMSS.json`\r\n- Phone devices: `phone_devices_YYYYMMDD_HHMMSS.json`\r\n\r\nExample topology file content:\r\n```json\r\n{\r\n    \"scan_date\": \"2025-04-14 21:25:04\",\r\n    \"devices\": [\r\n        {\r\n            \"ip\": \"192.168.1.1\",\r\n            \"mac\": \"6c:e8:73:f1:74:08\",\r\n            \"vendor\": \"Tp-LinkT\"\r\n        },\r\n        {\r\n            \"ip\": \"192.168.1.105\",\r\n            \"mac\": \"00:d4:9e:92:9e:ec\",\r\n            \"vendor\": \"Unknown\"\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\n## Notes\r\n\r\n- This tool should only be used on networks that you own or have explicit permission to monitor\r\n- Some features require administrator/root privileges\r\n- Run with administrator privileges for best results\r\n- Network scanning and monitoring operations may affect network traffic and can be detected by some security software\r\n\r\n## Author\r\n\r\nDeveloped by JosephSpace (SW)\r\n\r\nGitHub: https://github.com/JosephSpace\r\n\r\n## License\r\n\r\nThis project is made available under open source terms. Please use responsibly and only on networks you have permission to analyze.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosephspace%2Fswopy-network","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosephspace%2Fswopy-network","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosephspace%2Fswopy-network/lists"}