Go语言实现的扫描网络Ip和端口:netscan

jopen 9年前

扫描一个网络中一段IP范围或具体IP上开放的端口, 和在网络中使用的IP地址.

$ netscan -h  NAME:     netscan - Scan network ips and ports.    USAGE:     netscan [global options] command [command options] [arguments...]    VERSION:     v0.1.0    AUTHOR(S):     @jfrazelle <no-reply@butts.com>     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

Examples:

# for a cidr  $ netscan 192.168.0.1/24    # for a single ip  $ netscan 192.168.104.30

项目主页:http://www.open-open.com/lib/view/home/1438846794754