A simple multi-threaded Python tool to scan IP ranges and CIDR blocks for HTTP panels running on a specified port. The scanner checks if a panel responds with HTTP 200 status and logs found IPs.
- Supports loading IP ranges in two formats:
- CIDR notation (e.g.,
2.84.0.0/14) - IP range with dash (e.g.,
46.4.0.0 - 46.4.255.255)
- CIDR notation (e.g.,
- Validates IP inputs and ranges
- Multi-threaded scanning with concurrency control via Semaphore
- Thread-safe console output with color-coded messages
- Saves successful panel IPs to
panels.txt - Timeout and error handling for network requests
- Python 3.6+
- Modules:
requestscolorama
You can install dependencies via pip:
pip install requests colorama-
Prepare a text file named
range.txtin the same directory, listing IP ranges or CIDRs, one per line, e.g.:46.4.0.0 - 46.4.255.255 2.84.0.0/14 -
Run the scanner:
python scanner.py
-
Wait for the scan to complete. Found panels will be saved in
panels.txt.
- The default port scanned is
65432. ModifyDEFAULT_PORTvariable in the code if needed. - Maximum concurrent threads is limited to 10 by default; you can change
max_threadsin the code. - The scanner makes HTTP requests, so ensure you have network access and proper permissions.
This project is provided as-is for educational and personal use.