https://github.com/3ndg4me/gortscanner
Simple port scanner rewritten in go
https://github.com/3ndg4me/gortscanner
golang hacking hacktoberfest portscanner security
Last synced: about 1 month ago
JSON representation
Simple port scanner rewritten in go
- Host: GitHub
- URL: https://github.com/3ndg4me/gortscanner
- Owner: 3ndG4me
- Created: 2019-04-23T18:14:40.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-10T22:36:48.000Z (over 4 years ago)
- Last Synced: 2025-03-20T17:41:54.409Z (about 1 month ago)
- Topics: golang, hacking, hacktoberfest, portscanner, security
- Language: Go
- Homepage:
- Size: 4.32 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gortscanner
[Simple port scanner](https://github.com/3ndG4me/Simple-Port-Scanner) rewritten in go## Purpose
Sometimes firewalls are tough and you need the most basic stupid portscanner there is to just test for open ports. This was rewritten in Golang to both improve performance of the python3 version, and just for fun as an exercise porting python to Golang.It's called "Gort" Scanner because you're supposed to put "go" in the name of golang programs apparently.
Instead of "po" in "port" you get "go" for "gort", because that's how that works.
## Features
- Can scan single IPs and single ports Example: `gortscanner 192.168.0.1 22`
- Can parse CIDR range and scan multiple ips Example: `gortscanner 192.168.0.1/24 22`
- Can parse port ranges and scan multiple ports Example: `gortscanner 192.168.0.1 1-1024`
- Any combiniation of the above 3
- Cross platform, makes it easy to drop a binary and not deal with python dependencies
- Significantly faster than the python version. Idk by how much, but it's pretty obvious side by side even tweaking delays, especially thanks to multithreaded goroutines as of version 5.0.
- Better output than version 1.0. Now displays `Host: Ports: ` for easier parsing.
- Try `./gortscanner | grep “Host:” | tee scan.out` for a nice easy to cut up report.## TODO:
- Add the option to parse a list of ports i.e. `gortscanner 22, 23, 445`
- Add the option to parse a list of IPs i.e. `gortscanner.py 192.168.0.1, 192.168.0.2, 192.168.0.3 `
- Add timeout flag to change the length of timeouts between scans## Build:
- `go build -o gortscanner main.go`## Usage:
- `gortscanner `
- Example: `gortscanner 192.168.0.1/24 1-1024`