Source : https://github.com/jessfraz/netscan
Download :
https://www.qnapclub.eu/fr/qpkg/613
about:
netscan command added to $PATH
Usage
netscan - Scan network ips and ports.
Usage: netscan
Flags:
-d, --debug enable debug logging (default: false)
-p, --ports Ports to scan (ex. 80-443 or 80,443,8080 or 1-20,22,80-443) (default "80,443,8001,9001")
--proto protocol to use (can be set more than once) (default "tcp")
-t, --timeout timeout for ping of port (default: 1s)
Commands:
version Show the version information.
Examples
# for a cidr
$ netscan 192.168.0.1/24
# for a single ip
$ netscan 192.168.104.30