Skip to content

nxenon/port-scanner-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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]