{"id":25906614,"url":"https://github.com/rohancyberops/port-scanner","last_synced_at":"2025-03-03T06:15:21.406Z","repository":{"id":277699298,"uuid":"933241780","full_name":"RohanCyberOps/Port-scanner","owner":"RohanCyberOps","description":"A simple yet powerful port scanner written in Go, featuring a web-based user interface. This tool allows you to scan open ports on a given IP address using TCP or UDP protocols. It supports custom port ranges, concurrency control, and timeout configuration.","archived":false,"fork":false,"pushed_at":"2025-02-19T14:16:36.000Z","size":26,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T04:14:24.846Z","etag":null,"topics":["awesome","css","go","html","ipaddress","portscanner","scannner","tcp","trending","udp","ui"],"latest_commit_sha":null,"homepage":"","language":"Go","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/RohanCyberOps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["RohanCyberOps"]}},"created_at":"2025-02-15T13:52:19.000Z","updated_at":"2025-02-27T15:57:24.000Z","dependencies_parsed_at":"2025-02-15T14:41:55.809Z","dependency_job_id":null,"html_url":"https://github.com/RohanCyberOps/Port-scanner","commit_stats":null,"previous_names":["rohancyberops/port-scanner"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohanCyberOps%2FPort-scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohanCyberOps%2FPort-scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohanCyberOps%2FPort-scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohanCyberOps%2FPort-scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RohanCyberOps","download_url":"https://codeload.github.com/RohanCyberOps/Port-scanner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616677,"owners_count":19991543,"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":["awesome","css","go","html","ipaddress","portscanner","scannner","tcp","trending","udp","ui"],"created_at":"2025-03-03T06:15:18.759Z","updated_at":"2025-03-03T06:15:21.379Z","avatar_url":"https://github.com/RohanCyberOps.png","language":"Go","funding_links":["https://github.com/sponsors/RohanCyberOps"],"categories":[],"sub_categories":[],"readme":"\n\n# Go Port Scanner with Web UI\n\nA simple yet powerful port scanner written in Go, featuring a web-based user interface. This tool allows you to scan open ports on a given IP address using TCP or UDP protocols. It supports custom port ranges, concurrency control, and timeout configuration.\n\n![port scanner](assets/scanner.png)\n\n---\n\n## Features\n\n- **Web-Based UI**: Easily interact with the port scanner via a browser.\n- **Custom Port Range**: Scan a specific range of ports (e.g., 1-1024).\n- **Protocol Support**: Scan using TCP or UDP protocols.\n- **Concurrency Control**: Limit the number of concurrent scans to avoid overwhelming the system.\n- **Timeout Configuration**: Set a custom timeout for each connection attempt.\n- **Detailed Results**: View open ports, closed ports, and error messages in a clean table format.\n\n---\n\n## Prerequisites\n\n- **Go**: Ensure Go is installed on your system. You can download it from [golang.org](https://golang.org/dl/).\n- **Web Browser**: Any modern web browser to access the UI.\n\n---\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/RohanCyberOps/go-port-scanner.git\n   cd go-port-scanner\n   ```\n\n2. Build and run the application:\n   ```bash\n   go run main.go\n   ```\n\n3. Open your browser and navigate to:\n   ```\n   http://localhost:8080\n   ```\n\n---\n\n## Usage\n\n1. **Enter Scan Details**:\n   - **IP Address**: The target IP address to scan.\n   - **Protocol**: Choose between `TCP` or `UDP`.\n   - **Start Port**: The first port in the range to scan.\n   - **End Port**: The last port in the range to scan.\n   - **Timeout**: The connection timeout (e.g., `1s` for 1 second).\n   - **Max Concurrency**: The maximum number of concurrent scans.\n\n2. **Start the Scan**:\n   - Click the **Start Scan** button to begin the scan.\n\n3. **View Results**:\n   - The results will be displayed in a table below the form, showing the port number, status (Open/Closed), and a message.\n\n---\n\n## Example\n\n### Input:\n- **IP Address**: `127.0.0.1`\n- **Protocol**: `TCP`\n- **Start Port**: `1`\n- **End Port**: `1024`\n- **Timeout**: `1s`\n- **Max Concurrency**: `100`\n\n### Output:\n| Port | Status | Message   |\n|------|--------|-----------|\n| 22   | Open   | Success   |\n| 80   | Open   | Success   |\n| 443  | Open   | Success   |\n| ...  | Closed | Connection refused |\n\n---\n\n## Project Structure\n\n```\ngo-port-scanner/\n├── main.go            # Main Go application\n├── index.html         # HTML template for the UI\n├── static/\n│   └── style.css      # CSS for styling the UI\n├── README.md          # Project documentation\n```\n\n---\n\n## Customization\n\n- **Port Range**: Modify the `StartPort` and `EndPort` values in the UI to scan a different range.\n- **Concurrency**: Adjust the `Max Concurrency` value to control the number of simultaneous scans.\n- **Timeout**: Change the timeout value to increase or decrease the connection attempt duration.\n\n---\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n---\n\n## Contributing\n\nContributions are welcome! If you find a bug or have a feature request, please open an issue or submit a pull request.\n\n---\n\n## Author\n\n[Rohan Naagar](https://github.com/RohanCyberOps)\n\n---\n\nEnjoy using the Go Port Scanner! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohancyberops%2Fport-scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohancyberops%2Fport-scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohancyberops%2Fport-scanner/lists"}