The Python Port Scanner is a command-line tool that allows you to scan a target host for open ports. It is written in Python š and uses the sockets module to connect to each port on the target host and check if it is open or closed. The scanner supports scanning a single port, a range of ports, or all ports. It also has the ability to scan multiple hosts in parallel.
ššš
To install the Python Port Scanner, you can clone the repository from GitHub and install the required dependencies using pip:
cd portscanner
pip install -r requirements.txt
python portscanner.py <target> <start port> <end port>
For example, to scan port 80 on example.com, you can run:
python portscanner.py example.com 80 80
If you have any suggestions or find any bugs, feel free to open an issue or submit a pull request. We welcome contributions from the community! š¤