Port Scanner

Cyber Tool - Visit Repo

Output of my port scanner in a terminal

Overview

Starting with my cybersecurity learning, I wanted to create a basic tool that could assist me in finding potential vulnerabilities in a system. I've been really interested in the networking side of hardening, so I figured a simple port scanner would be the perfect starting tool for me.

The Vision

I wanted the tool to be super easy to use, give me what port was open, and what that port is commonly used for. I didn't want to dive too deep into the waters on my first tool, so keeping the scope of the project on the simple side was a must.

The Final(?) Product

What I've ended up with, so far, is asking the user what IPv4 address they'd like to do a scan on, asking them if they'd like to scan the most common ports or specific ports they have in mind, and finally, actually scanning the ports. To keep track of all those common ports, I have a CSV file with two columns. One column for the port numbers and the other for the service commonly used on those ports. So when one of those ports is reported to be open, the user will immediately see what service could be running without having to look up the port themselves.

Overall, I'm pretty happy with what I've got for my simple port scanner. In the future, I'd love to expand further on it and maybe see if I can get it to perform actions on those ports automatically.

Technology:

  • Python