Linux srv25.usacloudserver.us 5.14.0-570.39.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 4 05:08:52 EDT 2025 x86_64
LiteSpeed
Server IP : 23.137.84.82 & Your IP : 216.73.216.11
Domains :
Cant Read [ /etc/named.conf ]
User : epicgamerzoneco
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
cpguard /
app /
scripts /
Delete
Unzip
Name
Size
Permission
Date
Action
csf_action.php
6.05
KB
-rwxr-xr-x
2024-11-08 06:51
csf_migration.php
21.32
KB
-rwxr-xr-x
2025-09-26 13:25
cwp_suspend_hook.php
3.34
KB
-rw-r--r--
2023-09-25 10:22
cwp_user_list.php
639
B
-rw-r--r--
2023-09-25 10:22
cyberpanel_domain_list.php
3.51
KB
-rw-r--r--
2023-09-25 10:22
cyberpanel_user_list.php
792
B
-rw-r--r--
2023-09-25 10:22
enhance_domain_list.php
3.6
KB
-rw-r--r--
2023-09-25 10:22
enhance_suspend_hook.php
7.63
KB
-rw-r--r--
2023-09-25 10:22
enhance_user_list.php
3.79
KB
-rw-r--r--
2023-09-25 10:22
fw_debug.sh
3.42
KB
-rw-r--r--
2025-10-13 09:29
fw_list.sh
5.02
KB
-rw-r--r--
2025-10-13 09:29
interworx_domain_list.php
583
B
-rw-r--r--
2023-09-25 10:22
interworx_suspend_hook.php
3.63
KB
-rw-r--r--
2023-09-25 10:22
interworx_user_list.php
533
B
-rw-r--r--
2023-09-25 10:22
ioncube.php
42
B
-rw-r--r--
2022-12-02 17:04
reset_iptables.sh
3.6
KB
-rw-r--r--
2025-10-16 14:19
suspend_hook_sample.php
3.28
KB
-rw-r--r--
2023-09-25 10:22
virus_hook_sample.php
3.36
KB
-rw-r--r--
2023-09-25 10:22
webmin_domain_list.php
767
B
-rw-r--r--
2023-09-25 10:22
webmin_suspend_hook.php
3.32
KB
-rw-r--r--
2023-09-25 10:22
webmin_user_list.php
648
B
-rw-r--r--
2023-09-25 10:22
webuzo_domain_list.php
609
B
-rw-r--r--
2023-09-25 10:22
webuzo_suspend_hook.php
3.61
KB
-rw-r--r--
2023-09-25 10:22
webuzo_user_list.php
493
B
-rw-r--r--
2023-09-25 10:22
Save
Rename
#!/opt/cpguard/cpg-php-fpm/bin/php <?php ## DO NOT CUSTOMISE THIS FILE ## This file may be updated during software update ## Please make a copy of the file for customising it ini_set("display_errors", false); $domain_list = shell_exec('/usr/bin/cyberpanel listWebsitesJson'); if (!empty($domain_list)) { $domain_list = json_decode(trim(stripslashes($domain_list), "\"\n")); } if (file_exists('/usr/local/lsws/conf/httpd.conf')) { $docroots = parse_litespeed_config('/usr/local/lsws/conf/httpd.conf'); } else if (file_exists('/usr/local/lsws/conf/httpd_config.conf')) { $docroots = parse_openlitespeed_conf('/usr/local/lsws/conf/httpd_config.conf'); } $result = []; if (is_array($domain_list)) { foreach ($domain_list as $key => $values) { $temp = '/home/' . $values->domain . '/public_html'; $result[] = [ 'domain' => $values->domain, 'user' => $values->admin, 'docroot' => $docroots[$values->domain] ?? (file_exists($temp) ? $temp : '') ]; } echo json_encode($result, JSON_PRETTY_PRINT); } else { echo '[]'; } function parse_openlitespeed_conf($conf_file) { $result = []; $conf_contents = file_get_contents($conf_file); if (preg_match_all('/virtualHost\s([^\s]+)\s.+\n\s*vhRoot\s+([^\n]+)$/mi', $conf_contents, $matches, PREG_SET_ORDER)) { foreach ($matches as $domain) { $result[$domain[1]] = str_replace('$VH_NAME', $domain[1], $domain[2]) . '/public_html'; } } return $result; } function parse_litespeed_config($conf_files, $server_root = NULL) { $result = []; $conf_files = glob($conf_files); //to be able to accept paths like /usr/local/lsws/conf/vhosts/*/vhost.conf foreach ($conf_files as $conf_file) { //Read and clean the configuration file $conf = file_get_contents($conf_file); //Gather all docroots in this conf file if (!empty($conf) && preg_match_all('/^\s*\<VirtualHost(.*?)\<\/VirtualHost\>/ms', $conf, $vhost_matches)) { foreach ($vhost_matches[1] as $vhost) { preg_match('/^\s*ServerName\s+(.+)$/m', $vhost, $domain); preg_match('/^\s*DocumentRoot\s+(.+)$/m', $vhost, $docroot); if (!empty($domain[1]) && !empty($docroot[1]) && file_exists($docroot[1])) { $result[$domain[1]] = $docroot[1]; } } } //Recursively loop included files foreach (get_litespeed_includes($conf, $conf_file, $server_root) as $included_conf) { $result = array_merge($result, parse_litespeed_config($included_conf, $server_root)); } } return $result; } function get_litespeed_includes(&$conf, &$conf_file, &$server_root) { $result = []; //Now parse all included conf files if (preg_match('/^\s*ServerRoot\s+\"(.+)\"$/m', $conf, $matches)) { //If ServerRoot is set then relative paths are based on this value $root = $server_root = $matches[1]; } else { $root = dirname($conf_file); } $ingored_confs = ['mods-enabled/', 'conf-enabled/']; preg_match_all('/^\s*(IncludeOptional|Include)\s+(.+)$/m', $conf, $include_paths); foreach ($include_paths[2] ?? [] as $path) { foreach ($ingored_confs as $needle) { if (strpos($path, $needle) === 0) { continue; } } if ($path[0] !== '/') { $path = $server_root === NULL ? "$root/$path" : "$server_root/$path"; } $result[] = $path; } return $result; }