Whatport is an open source tool that scrapes port information from SpeedGuide's Port Database
Usage
whatport [port(s)] (Seperate ports with a space)
Installation
(Uses Go 1.17) This package uses the web scraper soup, so you will want that package installed beforehand.
$ git clone https://github.com/ouahabs/whatport.git
$ go build -o whatport
To-Do
- Add options.
- -d/--detailed, detailed output.
- -n, number of potential services per port.
- -c found CVEs
- Play around with spf13/Cobra for cli commands.
- trojan filtering.
- Add port seperation with commas.
Side Notes
This tool serves as training for my Golang skills, this is my first ever official open source Go package, so please feel free to open an issue or a pull request for features to be added and whatnot. (Idea from elvi7major#5180 on Discord).