A simple Python-based port scanner that helps identify open ports on a specified target (IP address or hostname). It supports scanning a range of ports, handling timeouts, and running multiple scans in parallel for faster results.
- Scan open ports on a specific target host (IP or hostname).
- Scan a range of ports or a list of individual ports.
- Parallel port scanning using threads to speed up the process.
- Customizable timeout for faster or more accurate scans.
- Simple command-line interface (CLI).
- Python 3.x
- No additional dependencies are required; this tool uses the built-in
socketandconcurrent.futureslibraries.
-
Clone this repository or download the
port_scanner.pyscript.git clone https://github.com/Directedchari0t/port-scanner.git cd port-scanner -
There are no external dependencies, so no need for
pipinstalls.
The port scanner can be run from the command line with various options to customize the scan.
To scan the default port range (1-1024) on a target host:
python port_scanner.py -t 192.168.1.1