Skip to main content

A simple port scanner that works.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

port-lens-0.7.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

port_lens-0.7-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page