port-scanner-go

command module
v0.0.0-...-54001d3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: GPL-2.0 Imports: 7 Imported by: 0

README

Port-Scanner-GO

Tool Category APP Version Go Version License

Simple TCP port scanner in golang.

Installation & Build

You have to have GO version 1.13
run:
go build port-scanner-go.go

Run

single port:
    ./port-scanner-go --ip 192.168.1.1 --port 80
ports range:
    ./port-scanner-go --ip 192.168.1.1 --port 1-1024
specific ports:
    ./port-scanner-go --ip 192.168.1.1 --port 80,443,22

Help

usage: port-scanner-go [-h|--help] --ip "<value>" --port "<value>" --timeout <integer>

                       Start Port Scanner

Arguments:

-h  --help     Print help information
--ip       Target IP
--port     Ports Range e.g 80 or 1-1024 or 80,22,23
--timeout  Timeout in Millisecond --> [Default : 500 ms]

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