Skip to content

zs5460/portscan

Repository files navigation

portscan

status Go Report Card codecov

A simple TCP and UDP portscanner written in Go

Performance

  • Scan all TCP and UDP ports of one host in 15 seconds.
  • Scan the common ports of all hosts in a Class C subnet in 2 seconds.

Download

releases

Usage

> portscan -h

                      __                      
    ____  ____  _____/ /_______________ _____ 
   / __ \/ __ \/ ___/ __/ ___/ ___/ __ \/ __ \
  / /_/ / /_/ / /  / /_(__  ) /__/ /_/ / / / /
 / .___/\____/_/   \__/____/\___/\__,_/_/ /_/ 
/_/                                           
                                     © zs5460
Usage of portscan:
  -f    Scan all TCP/UDP ports in full scan mode. The default is off. By default, only common TCP ports are scanned.
  -ip string
        IP to be scanned, supports three formats:
        192.168.0.1
        192.168.0.1-8
        192.168.0.0/24
  -p string
        Specific port to scan(0~65535)
  -t int
        Maximum number of threads (default 10000)

Licence

Released under MIT license, see LICENSE for details.

Special thanks

goland

About

A simple TCP and UDP portscanner written in Go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages