Pgo

GitHub

A fast and simple TCP ports scan written in Go

pgo - TCP - UDP ports scanner

⬇️ Installation

$ git clone https://github.com/0xwerz/pgo.git
$ cd pgo
$ sudo go build main.go -o pgo && cp pgo /usr/bin 
$ pgo --help

📈 Usage

$ pgo -h
Usage of ./main:
  -h    Show help menu
  -ip string
        IP address to scan (default "127.0.0.1")
  -p string
        Range of ports to scan (e.g. 22-80) (default "1-65535")
  -type string
        Type of scan (tcp or udp) (default "tcp")

Examples

TCP

$ pgo -ip 192.168.1.1 -p 22-80 -t tcp

UDP

$ pgo -ip 192.168.1.1 -p 22-80 -t udp