A simple TCP and UDP portscanner written in Go
- Scan all TCP and UDP ports of one host in 15 seconds.
- Scan the common ports of all hosts in a Class C subnet in 2 seconds.
> portscan -h
__
____ ____ _____/ /_______________ _____
/ __ \/ __ \/ ___/ __/ ___/ ___/ __ \/ __ \
/ /_/ / /_/ / / / /_(__ ) /__/ /_/ / / / /
/ .___/\____/_/ \__/____/\___/\__,_/_/ /_/
/_/
© zs5460
Usage of portscan:
-f Scan all TCP/UDP ports in full scan mode. The default is off. By default, only common TCP ports are scanned.
-ip string
IP to be scanned, supports three formats:
192.168.0.1
192.168.0.1-8
192.168.0.0/24
-p string
Specific port to scan(0~65535)
-t int
Maximum number of threads (default 10000)
Released under MIT license, see LICENSE for details.