فارسی
|
English
A fast endpoint discovery and port scanner in Go.
This tool:
- Randomly generates a list of candidate IPv4/IPv6 addresses from popular subnets.
- Pings every IP and selects the ones with the lowest latency.
- Scans a set of important TCP and UDP ports in parallel on the best IPs.
- Reports the open endpoints with the lowest connection latency, both for TCP and UDP.
Features:
- Fast parallel scanning using goroutines.
- Reports both port connection latency and ICMP ping time for better endpoint selection.
- IPv4 and IPv6 support.
Use case:
Finds the most responsive IP and port combination, e.g. for optimal VPN or proxy server selection.
Usage
Compile and run the script on your system with go run scan.go or go build && ./scan