A Simple Port Scanner Using Socket Module in Python
_ __ |_) _ ._ _|_ (_ _ _. ._ ._ _ ._ | (_) | |_ __) (_ (_| | | | | (/_ |
The Port Scanner is a Python script that allows you to scan a range of ports on a specified IP address to determine which ports are open. It uses the socket
module to establish connections and check for successful connections. The script provides a command-line interface where you can enter the IP address, start port, and end port to initiate the scan.
Before running the Port Scanner, ensure you have the following:
- Python 3.x installed on your machine.
- The socket module, which is a standard library in Python.
- Clone the repository or download the scan.py file.
- Open a terminal or command prompt and navigate to the directory where the scan.py file is located.
- Run the script using the following command:
python scan.py