Skip to content

DimkaGorhover/port-scanner-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 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.19

go build

Build Docker Image

docker build --force-rm --rm --target release .

Run

help:
    ./port-scanner-go --help
    ./port-scanner-go help
version:
    ./port-scanner-go --version
ports 1-32000:
    ./port-scanner-go --host 192.168.1.1
single port:
    ./port-scanner-go --host 192.168.1.1 --port 80
ports range:
    ./port-scanner-go --host 192.168.1.1 --port 1-1024
specific ports:
    ./port-scanner-go --host 192.168.1.1 --port 80,443,22
debug mode:
    ./port-scanner-go --host 192.168.1.1 --port 80 --debug

Help

NAME:
   port-scanner-go - A new cli application

USAGE:
   port-scanner-go [global options] command [command options] [arguments...]

VERSION:
   docker

AUTHORS:
   M Amin Nasiri <Khodexenon@gmail.com>

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --concurrency value  How many concurrency job run (default: CPU count)
   --debug              Enable Debug Logs (default: false)
   --help, -h           show help (default: false)
   --host value         Target Host
   --port value         Ports Range e.g 80 or 1-1024 or 80,22,23 (default: 1-32000)
   --timeout value      TCP Timeout in Millisecond (default: "500")
   --version, -v        print the version (default: false)

Releases

No releases published

Packages

No packages published

Languages

  • Go 74.0%
  • Dockerfile 26.0%