https://github.com/zakharb/goscanner
Port scanner in Go
https://github.com/zakharb/goscanner
golang port port-scanner scanner
Last synced: 12 months ago
JSON representation
Port scanner in Go
- Host: GitHub
- URL: https://github.com/zakharb/goscanner
- Owner: zakharb
- License: gpl-3.0
- Created: 2022-05-23T18:52:05.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-23T20:33:16.000Z (about 4 years ago)
- Last Synced: 2025-07-31T03:30:17.577Z (12 months ago)
- Topics: golang, port, port-scanner, scanner
- Language: Go
- Homepage:
- Size: 37.1 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

## GO Scanner
### Simple GO Port Scanner


## Content
[Important info](#important_info)
[Install](#install)
[Run](#install)
[Usage](#usage)
## Important info
> GO Scanner is utility to fast port scanning
> Using goroutines for multiprocessing
## Install
- Install GO and run
```
go mod init goscanner
go mod tidy
go build goscanner.go
```
## Run
- Start with some help
```
└─$ ./goscanner -h
usage: goscanner [-h|--help] --ip "" --port ""
Start scanner
Arguments:
-h --help Print help information
--ip Target IP address
--port Ports to scan, example: 21 / 80,443 / 1-1024
```
## Run
- Scan one port
```
└─$ ./goscanner --ip 127.0.0.1 --port 80
```
- Scan some ports
```
└─$ ./goscanner --ip 127.0.0.1 --port 80,443
```
- Scan port range
```
└─$ ./goscanner --ip 127.0.0.1 --port 1-1024
```