A fast and powerful multithreaded TCP port scanner written in Go ⚡. Clean design, colorful output, IPv4/IPv6 support, clipboard copy, and customizable settings.
- ⚙️ Highly concurrent port scanning with adjustable worker count
- 🌐 Supports both IPv4 and IPv6 targets
- 🎨 Colorful and clean terminal UI
- 📋 Auto-copy open ports to clipboard (
xcliprequired) - 🔢 Custom port ranges and timeouts
- 💻 Domain and IP address resolution
sudo apt update && sudo apt install -y figlet lolcat xclip golang golang-go upx
git clone https://github.com/OusH4x/PortScan
cd PortScan
go build -ldflags "-s -w" PortScan.go && upx PortScan./PortScan <host> [options]| Flag | Description | Default |
|---|---|---|
-p<range> |
Port range to scan (e.g. -p1-1000) |
1-65535 |
-w<num> |
Number of concurrent workers | 1000 |
-t<ms> |
Timeout per port in milliseconds | 500 |
-c |
Copy open ports to clipboard | — |
-h |
Show help | — |
./PortScan 192.168.1.1
./PortScan scanme.nmap.org -p20-1024 -w500 -t300 -c- Go 1.18 or higher
figlet,lolcat, andxclipfor full visual and clipboard support (optional)
OusH4x