Scan network ips and ports.

Clone this repo:
  1. 6212503 update travis by Jess Frazelle · 5 weeks ago master
  2. 94b8ed7 Bump version to v0.3.4 by Jess Frazelle · 6 months ago v0.3.4
  3. f035893 update travis key by Jess Frazelle · 6 months ago
  4. 65f4607 Implement a maximum amount of parallel probes (#3) by Maartje Eyskens · 6 months ago
  5. 57d2509 Move the scanning functionality into a library (#2) by Maartje Eyskens · 6 months ago

netscan

Travis CI GoDoc

Scan a network for ports that are open on an ip/ip range, and ips that are in use on that network.

Table of Contents

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/jessfraz/netscan

Usage

netscan -  Scan network ips and ports.

Usage: netscan <command>

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