Go-Portscanner

command module
v0.0.0-...-5a300a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2019 License: MIT Imports: 13 Imported by: 0

README

Go Report Card GoDoc

Go-Portscanner

Port Scanner in Go language

A port scanner written in Go language which scans TCP Ports with very simple thread-safe which should work on every OS without any problems. Port scanning will perform 65535 ports and show the results.

Docker implemention are also availabe for port scanning

alt text

Installation

git clone https://github.com/Tanmay-N/Go-Portscanner.git portscanner
cd portscanner
go build scanner.go -o scanner

Or

go get -u github.com/Tanmay-N/Go-Portscanner

Usage

Get help
scanner.go -h 
-IP string
        IP Address/Domain name. (Required) (default "127.0.0.1")

Shows the available options.

Localhost Port Scan
go run .\scanner.go 

Scans all local machine ports, from 1 to 65535.

Port Scan on Domain
go run .\scanner.go -IP="scanme.nmap.org"

Scan for particular domain.

Network Discovery
go run .\scanner.go -IP="192.168.0.1-225"

Looks for HTTP or FTP servers on 192.168.0.0/24.

Docker installation

To start a port-scan container, simply run gievn command in docker:

docker run -it tanmay95/go-portscanner -IP="scanme.nmap.org"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL