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 /
managePHP /
__pycache__ /
[ HOME SHELL ]
Name
Size
Permission
Action
__init__.cpython-310.pyc
133
B
-rw-r--r--
admin.cpython-310.pyc
282
B
-rw-r--r--
apps.cpython-310.pyc
361
B
-rw-r--r--
models.cpython-310.pyc
1.03
KB
-rw-r--r--
phpManager.cpython-310.pyc
9.16
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : phpManager.cpython-310.pyc
o ���h�J � @ sb d dl Zd dlmZ d dlZd dlZd dlmZ d dlm Z ddl T d dlmZ G dd � d �Z dS ) � N)�ProcessUtilities)�HttpResponse)�randint� )�*)�ElementTreec @ sx e Zd Zedd� �Zedd� �Zedd� �Zedd� �Zed d � �Zedd� �Z ed d� �Z edd� �Zedd� �ZdS )� PHPManagerc C s z`t �d�} dd� | �d�D �}tj�t j�r%ddlm} |� d|� �� dd� |D �}g }|D ]}t �|�}tj�d t|� d �rH|� |� q0tj�t j�r^ddlm} |� d|� �� |W S ty� } zddlm} |� dt|�� �� g d �W Y d }~S d }~ww )Nzls -la /usr/local/lswsc S � g | ]}d |v r|�qS )�lsphp� ��.0�liner r �*/usr/local/CyberCP/managePHP/phpManager.py� <listcomp> � z.PHPManager.findPHPVersions.<locals>.<listcomp>� r ��CyberCPLogFileWriterz$Found PHP lines in findPHPVersions: c S s8 g | ]}d |� � d d d |� � d dd� �qS )�PHP � � �.� N)�splitr r r r r ( s 8 z/usr/local/lsws/lsphpz /bin/lsphpz'Found PHP versions in findPHPVersions: �,Error while finding php versions on system: ��PHP 7.0�PHP 7.1�PHP 7.2�PHP 7.3zPHP 7.4zPHP 8.0zPHP 8.1zPHP 8.2zPHP 8.3zPHP 8.4zPHP 8.5)r �outputExecutionerr �os�path�exists� debugPath�plogical.CyberCPLogFileWriterr �writeToFiler �getPHPString�str�append� BaseException)�result�lsphp_lines�logging�php_versions�finalPHPVersions�php� phpString�msgr r r �findPHPVersions s. ���zPHPManager.findPHPVersionsc C s� z�ddl m} t�d| j� ��}t�� tjkst�� tjkr]dd� |�d�D �}t j �tj�r=ddl m} |�d|� �� g }|D ]}|�d �d }d|d � d|d � �}|�|� qAnId d� |�d�D �}t j �tj�r|ddl m} |�d|� �� g }|D ]%}z|�d�}d|d d � d|d � �}|dkr�|�|� W q� Y q�t j �tj�r�ddl m} |�d|� �� |W S ty� } zddl m} |�dt|�� �� g d�W Y d }~S d }~ww )Nr )�ApacheControllerzls -la c S r )r1 r r r r r r Q r z4PHPManager.findApachePHPVersions.<locals>.<listcomp>r r z*Found PHP lines in findApachePHPVersions: r1 r r r c S s g | ]}|�qS r r r r r r r b s ������zPHP .z-Found PHP versions in findApachePHPVersions: r r )� ApachController.ApacheControllerr5 r r! �phpBasepath�decideDistro�centos�cent8r r"