Skip to main content

A high-performance and efficient network port scanner for common ports.

Project description

PortScout - High Performance Port Scanner

📜 Description

PortScout is a fast and efficient network port scanner for common ports. This script performs rapid-fast scanning of supplied IP addresses and domain names to check common ports. While conducting a targeted security audit, PortScout provides the critical information you need to secure your systems. Ideally, it takes 2 minutes to scan 100 domains/IPs.

🌟 Features

  • Multi-threading: Uses threading for concurrent checks, significantly reducing scan times.
  • Port Check: Identifies open ports and provides service name.
  • Banner Retrieval: Efficiently retrieves SSH, and HTTP banners without authentication.
  • Detailed Output: Provides clear output summarizing scan results.

🚀 Install

pip install PortScout

🚀 Usage

PortScout -d <target1, target2>
PortScout -t <targets.txt>

Examples

Single domain or IP

PortScout -d 192.168.1.1

Multiple domains and IPs

PortScout -d 91.191.200.30 proxy.domain.com

List of targets via a text file

PortScout -t targets.txt

Output

The script will provide a summary of the scanned targets:

+--------------+------+--------+---------+-----------------------+
|  IP Address  | Port | Status | Service |        Banner         |
+--------------+------+--------+---------+-----------------------+
| 50.116.1.184 |  80  |  Open  |  http   | Apache/2.4.6 (CentOS) |
| 50.116.1.184 | 443  |  Open  |  https  | Apache/2.4.6 (CentOS) |
| 50.116.1.184 |  22  |  Open  |   ssh   |  SSH-2.0-OpenSSH_7.4  |
+--------------+------+--------+---------+-----------------------+

Results will be exported as results.csv in the current directory.

Speed Comparison

PortScout vs Nmap speed comparison:

+-----------+------------------+-----------------+---------+----------------+
| Tool Name | Total Domains/IP | Live Domains/IP | Command |   Time Taken   |
+-----------+------------------+-----------------+---------+----------------+
| PortScout |        30        |       25        |         |   30 seconds   |
|   Nmap    |        30        |       25        | -T4 -F  | 223.40 seconds |
+-----------+------------------+-----------------+---------+----------------+

Feature Request

To request a new feature, create a "new issue" and describe the feature and potential use cases. You can upvote the "issue" and contribute to the discussions if something similar already exists.

Authors

Project Founder

Contributors

How to help

You can help this project in many ways:

  • Spread this project within your network.
  • Providing your time and coding skills to add more features and stability to the project.
  • Provide access to feeds that detect CVE based on the identified version.
  • Open new issues with new suggestions, ideas, bug reports or feature requests.
  • Share your story about how have you been using the PhishDetect and what impact it brought.

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

portscout-1.0.2.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PortScout-1.0.2-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file portscout-1.0.2.tar.gz.

File metadata

  • Download URL: portscout-1.0.2.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for portscout-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d3680078bf763c6d06502b8e76b6276e7859ccac900aa5680fc3b1755fdfd9db
MD5 c93fa14b507626665cb5b00664263ebd
BLAKE2b-256 a9294bbd13fa262d6ddce3a435b6d29d17c5f138e485b4ba275c1db5ac2dc837

See more details on using hashes here.

File details

Details for the file PortScout-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: PortScout-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for PortScout-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 44a34d81d75771d6fdb5b7dbc6fee27e9f842cab21ebc2a33f4f79d7047b375f
MD5 60320feeff0ef1aa8428ffcadc8703cb
BLAKE2b-256 c960bcde9b9a4badafabef83b66ec3e2754aa4eca13ff07492d9c86eee3d0d4a

See more details on using hashes here.

Supported by

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