Scan a network for ports that are open on an ip/ip range, and ips that are in use on that network.
$ go get github.com/jessfraz/netscan
$ netscan -h NAME: netscan - Scan network ips and ports. USAGE: netscan [global options] command [command options] [arguments...] VERSION: version v0.3.0, build 30bb0f0 AUTHOR(S): @jessfraz <firstname.lastname@example.org> COMMANDS: help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --debug, -d run in debug mode --timeout, -t "1s" override timeout used for check --port, -p "1-1000" port range to check --proto "tcp,udp" protocol/s to check --help, -h show help --version, -v print the version
# for a cidr $ netscan 192.168.0.1/24 # for a single ip $ netscan 192.168.104.30