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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file multithreaded_port_scanner-0.1.0.tar.gz.
File metadata
- Download URL: multithreaded_port_scanner-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d357f3dc8fa1d0c54614c5dd568e0ed894817b7fa931eed5866dbeb86faa20a
|
|
| MD5 |
23571443308283b8ab30c6e36127a36d
|
|
| BLAKE2b-256 |
aa91411761815db676b373e50f0274449a9dd90845dd3a1f806277d042e0d4a3
|
File details
Details for the file multithreaded_port_scanner-0.1.0-py3-none-any.whl.
File metadata
- Download URL: multithreaded_port_scanner-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4981e089e49a27e2876ee0304cfb045c2c45863cfdefdfab97fe386a89437b05
|
|
| MD5 |
4ee629fc92baad7398d4f06709ae5de3
|
|
| BLAKE2b-256 |
3bbbbb2e947f75f15345d611fe10fcb2e208f7ae040a98d6dbdf4cc6e33f14ae
|