Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prantadas/port-finder
https://github.com/prantadas/port-finder
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/prantadas/port-finder
- Owner: PrantaDas
- License: mit
- Created: 2024-12-10T12:01:14.000Z (14 days ago)
- Default Branch: main
- Last Pushed: 2024-12-10T12:02:37.000Z (14 days ago)
- Last Synced: 2024-12-10T13:18:54.112Z (14 days ago)
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Port Finder
A fast and efficient **Port Finder** built with Go to identify open ports on a host. This project demonstrates Go's concurrency capabilities.
---
## Features
- **Concurrency**: Utilizes Goroutines and channels for fast scanning.
- **Customizable Scans**: Specify the target host, port range, and number of workers.
- **Performance**: Efficient use of resources, with a default timeout for port checks.
- **User-Friendly**: Clear output and input validation for a smooth experience.---
## Getting Started
### Prerequisites
- Go 1.20 or later installed on your machine.
- Basic understanding of running Go programs.### Installation
1. Clone the repository:
```bash
git clone [email protected]:PrantaDas/port-finder.git
cd port-finder
```
2. Initialize go modules
```bash
go mod tidy
```### Usage
Run the Application
```bash
go run main.go -host -start -end -workers
```### Example
```bash
go run main.go -host example.com -start 1 -end 100 -workers 50
```Output
```bash
Scanning example.com from ports 1 to 100 with 50 workers...Scan Results:
Port 22 is open
Port 80 is openScan completed in 2.34 seconds.
```This project is licensed under the MIT License. See the [LICENSE](https://github.com/PrantaDas/port-finder/blob/main/LICENSE) file for details.