Skip to main content

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.

Metadata

Release files for PortScout 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PortScout 1.0.2
File Size Uploaded
portscout-1.0.2.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PortScout 1.0.2
File Interpreter ABI Platform
PortScout-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.1 kB

Release files / portscout-1.0.2.tar.gz

Download URL portscout-1.0.2.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d3680078bf763c6d06502b8e76b6276e7859ccac900aa5680fc3b1755fdfd9db
BLAKE2b-256 checksum
How to use checksums
a9294bbd13fa262d6ddce3a435b6d29d17c5f138e485b4ba275c1db5ac2dc837
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / PortScout-1.0.2-py3-none-any.whl

Download URL PortScout-1.0.2-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44a34d81d75771d6fdb5b7dbc6fee27e9f842cab21ebc2a33f4f79d7047b375f
BLAKE2b-256 checksum
How to use checksums
c960bcde9b9a4badafabef83b66ec3e2754aa4eca13ff07492d9c86eee3d0d4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page