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 /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
.my.cnf.4370
0
B
-rw-r--r--
.mysql.4370
0
B
-rw-r--r--
Backupsv2.py
59.03
KB
-rw-r--r--
ClusterManager.py
17.68
KB
-rw-r--r--
CyberCPLogFileWriter.py
4.37
KB
-rw-r--r--
CyberPanelUpgrade.py
3.64
KB
-rw-r--r--
DockerSites.py
61.86
KB
-rw-r--r--
IncScheduler.py
88.07
KB
-rw-r--r--
SwitchOldAliasToNew.py
2.4
KB
-rw-r--r--
__init__.py
0
B
-rw-r--r--
acl.py
50.61
KB
-rw-r--r--
acl.py.backup_dns_fix
48.95
KB
-rw-r--r--
adminPass.py
2.41
KB
-rw-------
alias.py
647
B
-rw-r--r--
apiAccess.py
418
B
-rw-r--r--
applicationInstaller.py
352.05
KB
-rw-r--r--
backupSchedule.py
22.21
KB
-rw-r--r--
backupScheduleLocal.py
5.31
KB
-rw-r--r--
backupUtilities.py
110.15
KB
-rw-r--r--
bandwidthReset.py
7.25
KB
-rw-r--r--
cPanelImporter.py
41.33
KB
-rw-r--r--
childDomain.py
1.25
KB
-rw-r--r--
cronUtil.py
5.34
KB
-rw-r--r--
csf.py
48.63
KB
-rw-r--r--
customACME.py
51.55
KB
-rw-r--r--
dnsUtilities.py
38.7
KB
-rw-r--r--
domain.xml
0
B
-rw-r--r--
emergency_2fa_disable.py
1.24
KB
-rw-r--r--
filesPermsUtilities.py
6.17
KB
-rw-r--r--
filesPermsUtilities.py.bak
6.17
KB
-rw-r--r--
findBWUsage.py
4.6
KB
-rw-r--r--
firewallUtilities.py
8.18
KB
-rw-r--r--
ftpUtilities.py
7.56
KB
-rw-r--r--
getSystemInformation.py
5.29
KB
-rw-r--r--
hashPassword.py
1.22
KB
-rw-r--r--
httpProc.py
4.81
KB
-rw-r--r--
installUtilities.py
19.04
KB
-rw-r--r--
letsEncrypt.py
0
B
-rw-r--r--
mailUtilities.py
104.79
KB
-rw-r--r--
modSec.py
26.71
KB
-rw-r--r--
mysqlUtilities.py
41.46
KB
-rw-r--r--
phpUtilities.py
19.8
KB
-rw-r--r--
phpmyadminsignin.php
2.08
KB
-rw-r--r--
pluginManagerGlobal.py
813
B
-rw-r--r--
processUtilities.py
22.42
KB
-rw-r--r--
randomPassword.py
200
B
-rw-r--r--
rebuildQuotas.py
3.29
KB
-rw-r--r--
remoteBackup.py
14.81
KB
-rw-r--r--
remoteTransferUtilities.py
16.43
KB
-rw-r--r--
renew.py
5.64
KB
-rwxr-xr-x
restoreMeta.py
7.65
KB
-rw-r--r--
serverLogs.py
735
B
-rw-r--r--
sslUtilities.py
49.26
KB
-rw-r--r--
sslv2.py
26.18
KB
-rw-r--r--
test.py
0
B
-rw-r--r--
test1.py
0
B
-rw-r--r--
tuning.py
18.08
KB
-rw-r--r--
upgrade.py
213.62
KB
-rw-r--r--
upgrade.py.bak
97.03
KB
-rw-r--r--
upgradeCritical.py
1.15
KB
-rwx------
vhost.py
47
KB
-rw-r--r--
vhostConfs.py
14.41
KB
-rw-r--r--
virtualHostUtilities.py
92.31
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : vhostConfs.py
class vhostConfs: olsMasterMainConf = """virtualHost {virtualHostName} { vhRoot /home/$VH_NAME configFile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhost.conf allowSymbolLink 1 enableScript 1 restrained 1 } """ olsMasterConf = """docRoot $VH_ROOT/public_html vhDomain $VH_NAME vhAliases www.$VH_NAME adminEmails {adminEmails} enableGzip 1 enableIpGeo 1 index { useServer 0 indexFiles index.php, index.html } errorlog $VH_ROOT/logs/$VH_NAME.error_log { useServer 0 logLevel WARN rollingSize 10M } accesslog $VH_ROOT/logs/$VH_NAME.access_log { useServer 0 logFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" logHeaders 5 rollingSize 10M keepDays 10 compressArchive 1 } scripthandler { add lsapi:{virtualHostUser} php } extprocessor {virtualHostUser} { type lsapi address UDS://tmp/lshttpd/{virtualHostUser}.sock maxConns 10 env LSAPI_CHILDREN=10 initTimeout 600 retryTimeout 0 persistConn 1 pcKeepAliveTimeout 1 respBuffer 0 autoStart 1 path /usr/local/lsws/lsphp{php}/bin/lsphp extUser {virtualHostUser} extGroup {virtualHostUser} memSoftLimit 2047M memHardLimit 2047M procSoftLimit 400 procHardLimit 500 } phpIniOverride { {open_basedir} } module cache { storagePath /usr/local/lsws/cachedata/$VH_NAME } rewrite { enable 1 autoLoadHtaccess 1 } context /.well-known/acme-challenge { location /usr/local/lsws/Example/html/.well-known/acme-challenge allowBrowse 1 rewrite { enable 0 } addDefaultCharset off phpIniOverride { } } """ olsChildMainConf = """virtualHost {virtualHostName} { vhRoot /home/{masterDomain} configFile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhost.conf allowSymbolLink 1 enableScript 1 restrained 1 } """ olsChildConf = """docRoot {path} vhDomain $VH_NAME vhAliases www.$VH_NAME adminEmails {adminEmails} enableGzip 1 enableIpGeo 1 index { useServer 0 indexFiles index.php, index.html } errorlog $VH_ROOT/logs/{masterDomain}.error_log { useServer 0 logLevel WARN rollingSize 10M } accesslog $VH_ROOT/logs/{masterDomain}.access_log { useServer 0 logFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" logHeaders 5 rollingSize 10M keepDays 10 compressArchive 1 } phpIniOverride { {open_basedir} } module cache { storagePath /usr/local/lsws/cachedata/$VH_NAME } scripthandler { add lsapi:{externalApp} php } extprocessor {externalApp} { type lsapi address UDS://tmp/lshttpd/{externalApp}.sock maxConns 10 env LSAPI_CHILDREN=10 initTimeout 60 retryTimeout 0 persistConn 1 pcKeepAliveTimeout 1 respBuffer 0 autoStart 1 path /usr/local/lsws/lsphp{php}/bin/lsphp extUser {externalAppMaster} extGroup {externalAppMaster} memSoftLimit 2047M memHardLimit 2047M procSoftLimit 400 procHardLimit 500 } rewrite { enable 1 autoLoadHtaccess 1 } context /.well-known/acme-challenge { location /usr/local/lsws/Example/html/.well-known/acme-challenge allowBrowse 1 rewrite { enable 0 } addDefaultCharset off phpIniOverride { } } """ lswsMasterConf = """<VirtualHost *:80> ServerName {virtualHostName} ServerAlias www.{virtualHostName} ServerAdmin {administratorEmail} SuexecUserGroup {externalApp} {externalApp} DocumentRoot /home/{virtualHostName}/public_html Alias /.well-known/acme-challenge /usr/local/lsws/Example/html/.well-known/acme-challenge CustomLog /home/{virtualHostName}/logs/{virtualHostName}.access_log combined AddHandler application/x-httpd-php{php} .php .php7 .phtml <IfModule LiteSpeed> CacheRoot lscache CacheLookup on </IfModule> </VirtualHost> """ lswsChildConf = """<VirtualHost *:80> ServerName {virtualHostName} ServerAlias www.{virtualHostName} ServerAdmin {administratorEmail} SuexecUserGroup {externalApp} {externalApp} DocumentRoot {path} Alias /.well-known/acme-challenge /usr/local/lsws/Example/html/.well-known/acme-challenge CustomLog /home/{masterDomain}/logs/{masterDomain}.access_log combined AddHandler application/x-httpd-php{php} .php .php7 .phtml <IfModule LiteSpeed> CacheRoot lscache CacheLookup on </IfModule> </VirtualHost>""" apacheConf = """<VirtualHost *:8083> ServerName {virtualHostName} ServerAlias www.{virtualHostName} ServerAdmin {administratorEmail} SuexecUserGroup {externalApp} {externalApp} DocumentRoot /home/{virtualHostName}/public_html/ Alias /.well-known/acme-challenge /usr/local/lsws/Example/html/.well-known/acme-challenge <Proxy "unix:{sockPath}{virtualHostName}.sock|fcgi://php-fpm-{externalApp}"> ProxySet disablereuse=off </proxy> <FilesMatch \.php$> SetHandler proxy:fcgi://php-fpm-{externalApp} </FilesMatch> #CustomLog /home/{virtualHostName}/logs/{virtualHostName}.access_log combined #AddHandler application/x-httpd-php{php} .php .php7 .phtml <Directory /home/{virtualHostName}/public_html/> Options Indexes FollowSymLinks AllowOverride all Require all granted DirectoryIndex index.html index.php </Directory> </VirtualHost> """ apacheConfSSL = """<VirtualHost *:8082> ServerName {virtualHostName} ServerAlias www.{virtualHostName} ServerAdmin {administratorEmail} SuexecUserGroup {externalApp} {externalApp} DocumentRoot /home/{virtualHostName}/public_html/ <Proxy "unix:{sockPath}{virtualHostName}.sock|fcgi://php-fpm-{externalApp}"> ProxySet disablereuse=off </proxy> <FilesMatch \.php$> SetHandler proxy:fcgi://php-fpm-{externalApp} </FilesMatch> #CustomLog /home/{virtualHostName}/logs/{virtualHostName}.access_log combined #AddHandler application/x-httpd-php{php} .php .php7 .phtml <Directory /home/{virtualHostName}/public_html/> Options Indexes FollowSymLinks AllowOverride all Require all granted DirectoryIndex index.html index.php </Directory> SSLEngine on SSLVerifyClient none SSLCertificateFile {SSLBase}.fullchain.pem SSLCertificateKeyFile {SSLBase}.privkey.pem </VirtualHost> """ apacheConfChild = """<VirtualHost *:8083> ServerName {virtualHostName} ServerAlias www.{virtualHostName} ServerAdmin {administratorEmail} SuexecUserGroup {externalApp} {externalApp} DocumentRoot {path} <Proxy "unix:{sockPath}{virtualHostName}.sock|fcgi://php-fpm-{externalApp}"> ProxySet disablereuse=off </proxy> <FilesMatch \.php$> SetHandler proxy:fcgi://php-fpm-{externalApp} </FilesMatch> #CustomLog /home/{virtualHostName}/logs/{virtualHostName}.access_log combined #AddHandler application/x-httpd-php{php} .php .php7 .phtml <Directory {path}> Options Indexes FollowSymLinks AllowOverride all Require all granted DirectoryIndex index.html index.php </Directory> </VirtualHost> """ apacheConfChildSSL = """<VirtualHost *:8082> ServerName {virtualHostName} ServerAlias www.{virtualHostName} ServerAdmin {administratorEmail} SuexecUserGroup {externalApp} {externalApp} DocumentRoot {path} <Proxy "unix:{sockPath}{virtualHostName}.sock|fcgi://php-fpm-{externalApp}"> ProxySet disablereuse=off </proxy> <FilesMatch \.php$> SetHandler proxy:fcgi://php-fpm-{externalApp} </FilesMatch> #CustomLog /home/{virtualHostName}/logs/{virtualHostName}.access_log combined #AddHandler application/x-httpd-php{php} .php .php7 .phtml <Directory {path}> Options Indexes FollowSymLinks AllowOverride all Require all granted DirectoryIndex index.html index.php </Directory> SSLEngine on SSLVerifyClient none SSLCertificateFile {SSLBase}.fullchain.pem SSLCertificateKeyFile {SSLBase}.privkey.pem </VirtualHost> """ proxyApacheBackend = """extprocessor apachebackend { type proxy address http://127.0.0.1:8083 maxConns 100 pcKeepAliveTimeout 60 initTimeout 60 retryTimeout 0 respBuffer 0 } """ proxyApacheBackendSSL = """extprocessor proxyApacheBackendSSL { type proxy address https://127.0.0.1:8082 maxConns 100 pcKeepAliveTimeout 60 initTimeout 60 retryTimeout 0 respBuffer 0 } """ OLSLBConf = """docRoot $VH_ROOT/public_html vhDomain $VH_NAME vhAliases www.$VH_NAME adminEmails {adminEmails} enableGzip 1 enableIpGeo 1 index { useServer 0 indexFiles index.php, index.html } errorlog $VH_ROOT/logs/$VH_NAME.error_log { useServer 0 logLevel WARN rollingSize 10M } accesslog $VH_ROOT/logs/$VH_NAME.access_log { useServer 0 logFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" logHeaders 5 rollingSize 10M keepDays 10 compressArchive 1 } context /.well-known/acme-challenge { location /usr/local/lsws/Example/html/.well-known/acme-challenge allowBrowse 1 rewrite { enable 0 } addDefaultCharset off phpIniOverride { } } rewrite { enable 1 rules <<<END_rules RewriteEngine On RewriteCond %{HTTPS} !=on REWRITERULE ^(.*)$ HTTP://apachebackend/$1 [P,L] REWRITERULE ^(.*)$ HTTP://proxyApacheBackendSSL/$1 [P,L] END_rules } vhssl { keyFile /etc/letsencrypt/live/{domain}/privkey.pem certFile /etc/letsencrypt/live/{domain}/fullchain.pem certChain 1 sslProtocol 24 enableECDHE 1 renegProtection 1 sslSessionCache 1 enableSpdy 15 enableStapling 1 ocspRespMaxAge 86400 } """ phpFpmPool = """[{www}] listen = {sockPath}{Sock}.sock listen.owner = nobody listen.group = {group} listen.mode = 0660 user = {externalApp} group = {externalApp} pm = dynamic pm.max_children = 50 pm.start_servers = 1 pm.min_spare_servers = 1 pm.max_spare_servers = 1 """ phpFpmPoolReplace = """[{www}] listen = {sockPath}{Sock}.sock listen.owner = nobody listen.group = {group} listen.mode = 0660 user = {externalApp} group = {externalApp} pm = dynamic pm.max_children = {pmMaxChildren} pm.start_servers = {pmStartServers} pm.min_spare_servers = {pmMinSpareServers} pm.max_spare_servers = {pmMaxSpareServers} """ lswsRediConfMaster = """"vhost:{virtualHostName}" '{ "username": "{externalApp}", "documentRoot": "/home/{virtualHostName}/public_html", "vh_root": "/home/{virtualHostName}", "uid": {uid}, "gid": {gid}, "phpVersion": {php}, "custom_conf": { ServerAdmin {administratorEmail} CustomLog /home/{virtualHostName}/logs/{virtualHostName}.access_log combined <IfModule LiteSpeed> CacheRoot lscache </IfModule> } }'""" lswsRediConfMasterWWW = """"vhost:{virtualHostName}" '{ "username": "{externalApp}", "documentRoot": "/home/{master}/public_html", "vh_root": "/home/{master}", "uid": {uid}, "gid": {gid}, "phpVersion": {php}, "custom_conf": { ServerAdmin {administratorEmail} CustomLog /home/{master}/logs/{master}.access_log combined <IfModule LiteSpeed> CacheRoot lscache </IfModule> } }'""" lswsRediConfChild = """"vhost:{virtualHostName}" '{ "username": "{externalApp}", "documentRoot": "{path}", "vh_root": "{path}", "uid": {uid}, "gid": {gid}, "phpVersion": {php}, "custom_conf": { ServerAdmin {administratorEmail} CustomLog /home/{masterDomain}/logs/{masterDomain}.access_log combined <IfModule LiteSpeed> CacheRoot /home/{masterDomain}/lscache </IfModule> } }'""" lswsRediConfChildWWW = """"vhost:{virtualHostName}" '{ "username": "{externalApp}", "documentRoot": "{path}", "vh_root": "{path}", "uid": {uid}, "gid": {gid}, "phpVersion": {php}, "custom_conf": { ServerAdmin {administratorEmail} CustomLog /home/{masterDomain}/logs/{masterDomain}.access_log combined <IfModule LiteSpeed> CacheRoot /home/{masterDomain}/lscache </IfModule> } }'""" OLSPPConf = """ ### PASSWORD PROTECTION CONF STARTS {{path}} realm {{RealM_Name}} { userDB { location {{PassFile}} } } context / { location {{path}} allowBrowse 1 realm {{RealM_Name}} rewrite { } addDefaultCharset off phpIniOverride { } } ### PASSWORD PROTECTION CONF ENDS {{path}} """ LSWSPPProtection = """ ### PASSWORD PROTECTION CONF STARTS {{path}} AuthType Basic AuthName "{{RealM_Name}}" AuthUserFile {{PassFile}} Require valid-user ### PASSWORD PROTECTION CONF ENDS {{path}} """
Close