Skip to main content

A simple, multi-threaded port scanner.

Project description

Multithreaded Port Scanner

A simple, multi-threaded port scanner built in Python for educational purposes.
This tool is intended to help learn Python sockets, threading, and CLI design. Do not use it on networks you do not own or have explicit permission to scan.

Features

  • Scan a range of ports on localhost or private networks.
  • Multi-threaded scanning for faster results.
  • Ethical check to warn users before scanning public IPs.

Installation

1) From PyPI (after publishing)

pip install multithreaded-port-scanner

2) Directly from GitHub

You can clone the repo and install locally:

# Clone the repository
git clone https://github.com/Mohd-Yasir/Multithreaded-Port-Scanner
cd multithreaded-port-scanner

# Install using pip
pip install .

After installation, the CLI command scanner will be available:

scanner --help

Usage Example

Scan localhost ports 1-100:

scanner localhost -p 1-100

Warning prompt will appear if you try to scan a public IP:

Warning! You are about to scan a public host: <IP>. Do you have explicit permission to do this? (yes/no):

Legal & Ethical Notice

This tool is for educational use only.

  • Only scan machines you own or have explicit permission to scan.
  • The author is not responsible for misuse.
  • Do not share this tool for illegal activities.

License

MIT License. See LICENSE for details.

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

multithreaded_port_scanner-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

multithreaded_port_scanner-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file multithreaded_port_scanner-0.1.0.tar.gz.

File metadata

File hashes

Hashes for multithreaded_port_scanner-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1d357f3dc8fa1d0c54614c5dd568e0ed894817b7fa931eed5866dbeb86faa20a
MD5 23571443308283b8ab30c6e36127a36d
BLAKE2b-256 aa91411761815db676b373e50f0274449a9dd90845dd3a1f806277d042e0d4a3

See more details on using hashes here.

File details

Details for the file multithreaded_port_scanner-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for multithreaded_port_scanner-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4981e089e49a27e2876ee0304cfb045c2c45863cfdefdfab97fe386a89437b05
MD5 4ee629fc92baad7398d4f06709ae5de3
BLAKE2b-256 3bbbbb2e947f75f15345d611fe10fcb2e208f7ae040a98d6dbdf4cc6e33f14ae

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