Skip to content

Tanmay-N/Go-Portscanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"