PortLens
A simple python port scanner which used to scanner open ports in a specific target.
Installation
You can install PortLens using pip:
pip install port-lens
Basic Usage
To perform a basic port scan, you can use PortLens with the following command:
port-lens scan <hostname> <start_port> <end_port>
Scan Common Ports
If you want to scan common ports, you can omit the <start_port> and <end_port>:
port-lens example.com
Display Help
To display the help message and see all available options, use:
port-lens --help
Output
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.
Contributing
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.
License
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.
Release files for port-lens 0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| port-lens-0.7.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| port_lens-0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / port-lens-0.7.tar.gz
| Download URL | port-lens-0.7.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d812ae1c8590674b7ca1d5f709e4de56a76d9d480165b54cdac7ca9b95cf382
|
|
BLAKE2b-256 checksum How to use checksums |
82c0bce65fc7bef8bee4fdb400392ef3b4c2e8989ee32647ad3a13400983d987
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Release files / port_lens-0.7-py3-none-any.whl
| Download URL | port_lens-0.7-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4529975ad715c443b152f1f9f8b5a63b9af7b74c8a8f157de4e6e33cfc9c0f5e
|
|
BLAKE2b-256 checksum How to use checksums |
62479c03f2c8610b81bb46498f879335345d0cc2516a313a207e7fad7fb8cda8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|