Skip to content

dee-ex/port_scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Port Scanner

A Simple Port Scanner in Golang

Usage

Run command

go run main.go -host=hostname -r=a-b -p=protocol

where hostname can be a domain name or ip address. The range a-b is the range that you long to scan.
In default (case you didn't pass any argument), hostname=127.0.0.1, r=1-65000, p=tcp.
The option range can be a-b -> [a, b], a -> [a, 65000], -b -> [1, b].

Demo

No argument passed demo no argument passed hostname passed demo hostname passed hostname, r passed demo hostname, r passed hostname, r, p passed demo hostname, r, p passed

About

A Simple Port Scanner in Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages