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

<div class="snippet-clipboard-content position-relative" data-snippet-clipboard-copy-content="usage: port-scanner-go [-h|–help] –ip "" –port "" –timeout

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]
“>

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]