Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jessfraz/netscan
Scan network ips and ports.
https://github.com/jessfraz/netscan
Last synced: 15 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 (over 1 year ago)
- Last Synced: 2024-08-04T11:01:50.323Z (3 months ago)
- Language: Go
- Size: 4.97 MB
- Stars: 261
- Watchers: 12
- Forks: 54
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# netscan
[![make-all](https://github.com/jessfraz/netscan/workflows/make%20all/badge.svg)](https://github.com/jessfraz/netscan/actions?query=workflow%3A%22make+all%22)
[![make-image](https://github.com/jessfraz/netscan/workflows/make%20image/badge.svg)](https://github.com/jessfraz/netscan/actions?query=workflow%3A%22make+image%22)
[![GoDoc](https://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge)](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
```