https://github.com/jessfraz/netscan
Scan network ips and ports.
https://github.com/jessfraz/netscan
Last synced: 6 days ago
JSON representation
Scan network ips and ports.
- Host: GitHub
- URL: https://github.com/jessfraz/netscan
- Owner: jessfraz
- License: mit
- Created: 2015-08-05T01:07:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-02-24T17:27:00.000Z (almost 2 years ago)
- Last Synced: 2025-02-08T15:10:02.250Z (13 days ago)
- Language: Go
- Size: 4.97 MB
- Stars: 265
- Watchers: 12
- Forks: 54
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# netscan
[](https://github.com/jessfraz/netscan/actions?query=workflow%3A%22make+all%22)
[](https://github.com/jessfraz/netscan/actions?query=workflow%3A%22make+image%22)
[](https://godoc.org/github.com/jessfraz/netscan)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](#installation)
- [Binaries](#binaries)
- [Via Go](#via-go)
- [Usage](#usage)
- [Examples](#examples)## Installation
#### Binaries
For installation instructions from binaries please visit the [Releases Page](https://github.com/jessfraz/netscan/releases).
#### Via Go
```console
$ go get github.com/jessfraz/netscan
```## Usage
```console
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
```console
# for a cidr
$ netscan 192.168.0.1/24# for a single ip
$ netscan 192.168.104.30
```