11 lines
225 B
Markdown
11 lines
225 B
Markdown
# tcp-port-scanner
|
|
|
|
To do a port scan on a host, provide the host's domain name or ip.
|
|
|
|
```shell
|
|
go run main.go --host 'localhost'
|
|
```
|
|
|
|
This code is based upon the examples in:
|
|
[Black Hat Go](https://nostarch.com/blackhatgo)
|