A simple python port scanner which used to scanner open ports in a specific target.
You can install PortLens using pip
:
pip install port-lens
To perform a basic port scan, you can use PortLens with the following command:
port-lens scan <hostname> <start_port> <end_port>
If you want to scan common ports, you can omit the <start_port> and <end_port>:
port-lens example.com
To display the help message and see all available options, use:
port-lens --help
PortLens will display the results of the port scan, including open ports and their associated services. You will receive an informative report like this:
Scanning example.com from port 1 - 1000:
Open Ports:
80 HTTP
443 HTTPS
...
Scan completed in 2.34 seconds.
Contributions are welcome! If you encounter any issues, have feature requests, or want to contribute to the development of PortLens, please check our contribution guidelines.
This project is licensed under the MIT License.
Happy scanning with PortLens! If you have any questions or need further assistance, please feel free to me.