# network_scanner **Repository Path**: tools_dev_1/network_scanner ## Basic Information - **Project Name**: network_scanner - **Description**: 网络扫描工具 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-12-17 - **Last Updated**: 2025-12-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Network Scanner A simple network scanning tool that supports IP address scanning and port scanning, suitable for network diagnostics and device detection. ## Features - **IP Scan**: Scan a specified IP range to detect active devices. - **Port Scan**: Scan ports on a specified IP to detect open ports and corresponding services. - **Graphical User Interface**: Provides a user-friendly GUI for easy operation and result viewing. - **Multithreading Support**: Enhances scanning efficiency through multithreading. - **Log Output**: Displays real-time log information during the scanning process. - **Stop Scan**: Supports stopping ongoing scan tasks at any time. ## Technologies Used - Python 3.x - Tkinter (for the graphical interface) - Socket (for network communication) - Multithreading (for concurrent scanning) ## Usage Instructions 1. **Launch the Program**: ```bash python network_scanner.py ``` 2. **IP Scan**: - Enter an IP range (e.g., `192.168.1.1-100`) in the IP Scan tab. - Set the timeout and maximum number of threads. - Click the "Start Scan" button to list active IP addresses. 3. **Port Scan**: - Enter the target IP address in the Port Scan tab. - Enter the port range to scan (e.g., `1-1000`). - Set the timeout and maximum number of threads. - Click the "Start Scan" button to list open ports and their corresponding services. 4. **Stop Scan**: - Click the "Stop Scan" button to terminate any ongoing scan task at any time. 5. **Clear Results**: - Click the "Clear Results" button to clear current scan results and log information. ## Notes - Ensure the device running this program has network access permissions. - Adjust the scan range and thread count according to your network environment to avoid excessive network load. - This tool is intended solely for learning and testing purposes. Do not use it for illegal activities. ## Open Source License This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. ## Contact For any questions or suggestions, please contact the project maintainer.