Mohamed Elmujtaba Elwasila
Mohamed Elmujtaba Elwasila
Personal project

Network Port Scanner

A concurrent TCP port scanner written in Go, using goroutines and a worker pool.

Port scanner terminal output listing open ports on localhost
A scan of ports 1 to 4030 on localhost, which found two open ports.

Project Overview

This is a command-line TCP port scanner written in Go. You give it a hostname and a port range, and it attempts a TCP connection to each port using Go's standard net package to report which ones are open.

The scanning is concurrent: ports are handed to a pool of worker goroutines rather than checked one at a time. It is mainly a project in Go concurrency and TCP networking, and should only be used on systems you have permission to scan.

Tools Used

Go
Goroutines
Worker Pools
net Package
TCP