Basic network port scanner web UI
Why Choose This Project
Network administrators and security enthusiasts often need to check open ports on servers or devices to identify potential vulnerabilities. This project provides a simple web-based interface to scan IP addresses or domains for open ports, helping users identify potential security risks and monitor network exposure without needing complex command-line tools.
What You Get
-
A responsive web interface to scan a single IP or a range of IPs.
-
Port scanning functionality for common ports (HTTP, FTP, SSH, SMTP, etc.).
-
Scan results display with open/closed status for each port.
-
Export option to save results as CSV or PDF.
-
User authentication & session management (optional).
Key Features
| Feature | Description |
|---|---|
| User Authentication (Optional) | Secure login for accessing scan features. |
| Target Input | Scan a single IP, hostname, or IP range. |
| Port Range Selection | Users can select ports or scan common predefined ports. |
| Scan Results Table | Shows open, closed, or filtered ports with service info. |
| Export Results | Download scan results for reporting or record-keeping. |
| Responsive UI | Works on desktops, tablets, and mobile devices. |
| Admin Panel (Optional) | Track scan history, manage users, and configure default port ranges. |
Technology Stack
Frontend Layer
-
HTML, CSS, JavaScript
-
Bootstrap for responsive UI
-
Optional: jQuery or React for dynamic table updates
Backend Layer
-
Node.js (Express) or Python Flask or Java Spring Boot
-
Handles scan requests and performs port scanning logic
Database Layer
-
MySQL / PostgreSQL / MongoDB for storing scan history (optional)
Security Layer
-
Input validation to prevent injection attacks
-
Rate limiting to prevent abuse
-
HTTPS for secure communication
Working Flow
-
User Access
-
User logs in (if authentication enabled).
-
-
Target Selection
-
Enter single IP, domain, or range.
-
Choose port range (common ports or custom).
-
-
Scan Execution
-
Backend scans ports asynchronously.
-
Uses TCP connect or SYN scan methods.
-
-
Results Display
-
Open ports highlighted in results table.
-
Closed or filtered ports marked appropriately.
-
-
Export / Save Scan
-
Option to download CSV/PDF of scan results.
-
Optional: Save scan history in database.
-
Main Modules
-
User Module → Authentication & session management
-
Scan Module → Input validation, scan execution, result formatting
-
Result Module → Table display, filtering, and export options
-
Admin Module (Optional) → Scan history, user management, default settings
Security Features
-
Input validation to prevent malicious hostnames/IPs
-
Rate limiting per user to prevent DoS attacks
-
HTTPS encryption for secure data exchange
-
Optional authentication & role-based access
-
Logging and audit trail for all scans