
cPanel Scanner is a fast, multi-threaded tool written in Go for detecting cPanel services across IP ranges, CIDR blocks, or target lists. Perfect for network administrators and security professionals.
A fast, multi-threaded cPanel detection tool written in Go. It scans IP addresses, CIDR ranges, or target lists from a file to identify cPanel services running on ports 2082, 2083, and 2087.
pterm for beautiful terminal outputThis tool is intended for educational purposes and authorized security assessments only.
Unauthorized scanning of networks or systems may be illegal. The author is not responsible for any misuse of this software.
Always obtain proper permission before scanning systems or networks you do not own or have explicit authorization to test.
git clone https://github.com/K3ysTr0K3R/cpanel-scanner.git
cd cpanel-scanner
go build -o cpanel-scanner .
go installgo install github.com/K3ysTr0K3R/cpanel-scanner@latest
./cpanel-scanner -ip 192.168.1.1
./cpanel-scanner -ip 192.168.1.0/24
./cpanel-scanner -f targets.txt
./cpanel-scanner -f targets.txt -t 20 -o results.txt
./cpanel-scanner -ip 10.0.0.1 -timeout 10
Create a targets.txt file containing one target per line:
# Comments start with '#'
192.168.1.1
192.168.1.2
10.0.0.0/24
192.168.2.0/24
Both individual IP addresses and CIDR ranges are supported.
Results are displayed in a table format:
INDEX TARGET URL
1 https://192.168.1.1:2083
2 http://192.168.1.2:2082
If an output file is specified with -o, detected URLs are saved one per line.
Example:
https://192.168.1.1:2083
http://192.168.1.2:2082
The scanner follows several stages:
Targets are collected from command-line arguments or an input file. CIDR ranges are expanded and duplicate targets are removed.
The scanner uses Go goroutines to perform concurrent HTTP checks, with the number of workers controlled by the -t flag.
The scanner analyzes several indicators, including:
HTTP headers such as Server and X-Powered-By
HTML page titles
cPanel-related content such as:
cpanel logincpanel, inc.Asset references:
cpanel.csscpanel.jsCommon cPanel-related paths:
/cpanel//login//cgi-sys/Confirmed detections are collected and displayed in the terminal. Results can optionally be written to an output file.
GOOS=linux GOARCH=amd64 go build -o cpanel-scanner-linux
GOOS=windows GOARCH=amd64 go build -o cpanel-scanner.exe
GOOS=darwin GOARCH=amd64 go build -o cpanel-scanner-mac
Contributions are welcome!
If you have an improvement, bug fix, or feature suggestion:
Bug reports and feature requests can also be submitted through GitHub Issues.
| Flag | Description | Default |
|---|
-t | Number of concurrent threads | 10 |
-f | File containing targets, one per line | Empty |
-ip | Single target IP or CIDR range | Empty |
-timeout | HTTP request timeout in seconds | 5 |
-o | Output file to save detected URLs | Empty |