Introduction This is a simple and efficient Port Scanner written in the Go programming language (Golang). A Port Scanner is a tool that helps you discover open ports on a target system. It can be a useful utility for network administrators and security professionals to identify potential vulnerabilities in a network.
Features Fast and lightweight Concurrent scanning for improved speed Range-based or single-port scanning Easy-to-use command-line interface
- Go 1.16 or later
-
Make sure you have Go installed on your system. You can download it from https://golang.org/dl/.
-
Clone this repository or download the source code:
git clone https://github.com/tikarammardi/portscanner.git
- Navigate to the project directory:
cd portscanner
- Build the project:
go build
# Run the project
./portscanner --host <host> --start <start> --end <end>
Options:
--host
: The target host to scan (required)--start
: The start port (default: 1)--end
: The end port (default: 65535)
Example:
./portscanner --host example.com --start 80 --end 443
#or
./portscanner --host=example.com --start=80 --end=443
make build
make clean