Hello everyone,
In this article, I’m going to show you how to make a simple port scan tool using Python 🙂 Let’s get started!
First of all, import the socket module and specify two inputs for target ip address and port.

Next, specify two variables for port range and do not forget to write a comment as always 🙂

Finally, make a loop and open a socket to scan ports 🙂

The tool is ready. Let’s try it 🙂

Thank you so much for your interest.
Keep safe!
Have a nice day 🙂
