portscan-CVE-2026-41940
IP CIDRs (presumably as input, maybe command line or file) and checks ports 2083 and 2087 for openness
portscan-CVE-2026-41940
IP CIDRs (presumably as input, maybe command line or file) and checks ports 2083 and 2087 for openness
CIDR Port Scanner (2083 & 2087)
A lightweight, multi‑threaded Python script for CVE-2026-41940 to scan one or more CIDR ranges for open TCP ports 2083 (cPanel SSL) and 2087 (cPanel SSL for WHM). Useful for security audits, network inventory, or checking cPanel/WHM services across large IP blocks.
Features
- Support for direct CIDR arguments or an input file (one CIDR per line)
- Concurrent scanning with configurable thread pool (default 50 threads)
- Adjustable connection timeout (default 1 second)
- Verbose mode to monitor scanning progress in real time
- Only uses Python standard library – no external dependencies
- Skips network and broadcast addresses automatically (for IPv4)
Requirements
- Python 3.6 or higher
- No additional packages needed
Usage
Simply download the script and make it executable (on Windows/Linux/macOS):
python3 scan_whm.py --file cidrs.txt
python3 scan_whm.py 192.168.1.0/24 10.0.0.0/28
python3 scan_whm.py --file cidrs.txt --timeout 2 --threads 100