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.221.243.29
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 /
business.fleetsignsandwrap.ca /
wp-includes /
rest-api /
endpoints /
[ HOME SHELL ]
Name
Size
Permission
Action
class-wp-rest-application-pass...
23.59
KB
-rw-r--r--
class-wp-rest-attachments-cont...
46.36
KB
-rw-r--r--
class-wp-rest-autosaves-contro...
14.42
KB
-rw-r--r--
class-wp-rest-block-directory-...
9.72
KB
-rw-r--r--
class-wp-rest-block-pattern-ca...
4.55
KB
-rw-r--r--
class-wp-rest-block-patterns-c...
9.08
KB
-rw-r--r--
class-wp-rest-block-renderer-c...
5.7
KB
-rw-r--r--
class-wp-rest-block-types-cont...
25.79
KB
-rw-r--r--
class-wp-rest-blocks-controlle...
3.1
KB
-rw-r--r--
class-wp-rest-comments-control...
56.24
KB
-rw-r--r--
class-wp-rest-controller.php
18.62
KB
-rw-r--r--
class-wp-rest-edit-site-export...
2.07
KB
-rw-r--r--
class-wp-rest-font-collections...
9.18
KB
-rw-r--r--
class-wp-rest-font-faces-contr...
29.11
KB
-rw-r--r--
class-wp-rest-font-families-co...
17.1
KB
-rw-r--r--
class-wp-rest-global-styles-co...
20.45
KB
-rw-r--r--
class-wp-rest-global-styles-re...
11.71
KB
-rw-r--r--
class-wp-rest-menu-items-contr...
31.68
KB
-rw-r--r--
class-wp-rest-menu-locations-c...
8.32
KB
-rw-r--r--
class-wp-rest-menus-controller...
16.44
KB
-rw-r--r--
class-wp-rest-navigation-fallb...
5.05
KB
-rw-r--r--
class-wp-rest-pattern-director...
12.77
KB
-rw-r--r--
class-wp-rest-plugins-controll...
27.86
KB
-rw-r--r--
class-wp-rest-post-statuses-co...
10.08
KB
-rw-r--r--
class-wp-rest-post-types-contr...
13.48
KB
-rw-r--r--
class-wp-rest-posts-controller...
95.92
KB
-rw-r--r--
class-wp-rest-revisions-contro...
25.12
KB
-rw-r--r--
class-wp-rest-search-controlle...
11.07
KB
-rw-r--r--
class-wp-rest-settings-control...
10.11
KB
-rw-r--r--
class-wp-rest-sidebars-control...
15.36
KB
-rw-r--r--
class-wp-rest-site-health-cont...
9.61
KB
-rw-r--r--
class-wp-rest-taxonomies-contr...
13.22
KB
-rw-r--r--
class-wp-rest-template-autosav...
7.52
KB
-rw-r--r--
class-wp-rest-template-revisio...
8.11
KB
-rw-r--r--
class-wp-rest-templates-contro...
35.45
KB
-rw-r--r--
class-wp-rest-terms-controller...
33.16
KB
-rw-r--r--
class-wp-rest-themes-controlle...
20.53
KB
-rw-r--r--
class-wp-rest-url-details-cont...
20.07
KB
-rw-r--r--
class-wp-rest-users-controller...
46.62
KB
-rw-r--r--
class-wp-rest-widget-types-con...
18.31
KB
-rw-r--r--
class-wp-rest-widgets-controll...
25.86
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : class-wp-rest-block-pattern-categories-controller.php
<?php /** * REST API: WP_REST_Block_Pattern_Categories_Controller class * * @package WordPress * @subpackage REST_API * @since 6.0.0 */ /** * Core class used to access block pattern categories via the REST API. * * @since 6.0.0 * * @see WP_REST_Controller */ class WP_REST_Block_Pattern_Categories_Controller extends WP_REST_Controller { /** * Constructs the controller. * * @since 6.0.0 */ public function __construct() { $this->namespace = 'wp/v2'; $this->rest_base = 'block-patterns/categories'; } /** * Registers the routes for the objects of the controller. * * @since 6.0.0 */ public function register_routes() { register_rest_route( $this->namespace, '/' . $this->rest_base, array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => array( $this, 'get_items' ), 'permission_callback' => array( $this, 'get_items_permissions_check' ), ), 'schema' => array( $this, 'get_public_item_schema' ), ) ); } /** * Checks whether a given request has permission to read block patterns. * * @since 6.0.0 * * @param WP_REST_Request $request Full details about the request. * @return true|WP_Error True if the request has read access, WP_Error object otherwise. */ public function get_items_permissions_check( $request ) { if ( current_user_can( 'edit_posts' ) ) { return true; } foreach ( get_post_types( array( 'show_in_rest' => true ), 'objects' ) as $post_type ) { if ( current_user_can( $post_type->cap->edit_posts ) ) { return true; } } return new WP_Error( 'rest_cannot_view', __( 'Sorry, you are not allowed to view the registered block pattern categories.' ), array( 'status' => rest_authorization_required_code() ) ); } /** * Retrieves all block pattern categories. * * @since 6.0.0 * * @param WP_REST_Request $request Full details about the request. * @return WP_Error|WP_REST_Response Response object on success, or WP_Error object on failure. */ public function get_items( $request ) { $response = array(); $categories = WP_Block_Pattern_Categories_Registry::get_instance()->get_all_registered(); foreach ( $categories as $category ) { $prepared_category = $this->prepare_item_for_response( $category, $request ); $response[] = $this->prepare_response_for_collection( $prepared_category ); } return rest_ensure_response( $response ); } /** * Prepare a raw block pattern category before it gets output in a REST API response. * * @since 6.0.0 * * @param array $item Raw category as registered, before any changes. * @param WP_REST_Request $request Request object. * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. */ public function prepare_item_for_response( $item, $request ) { $fields = $this->get_fields_for_response( $request ); $keys = array( 'name', 'label', 'description' ); $data = array(); foreach ( $keys as $key ) { if ( isset( $item[ $key ] ) && rest_is_field_included( $key, $fields ) ) { $data[ $key ] = $item[ $key ]; } } $context = ! empty( $request['context'] ) ? $request['context'] : 'view'; $data = $this->add_additional_fields_to_object( $data, $request ); $data = $this->filter_response_by_context( $data, $context ); return rest_ensure_response( $data ); } /** * Retrieves the block pattern category schema, conforming to JSON Schema. * * @since 6.0.0 * * @return array Item schema data. */ public function get_item_schema() { if ( $this->schema ) { return $this->add_additional_fields_schema( $this->schema ); } $schema = array( '$schema' => 'http://json-schema.org/draft-04/schema#', 'title' => 'block-pattern-category', 'type' => 'object', 'properties' => array( 'name' => array( 'description' => __( 'The category name.' ), 'type' => 'string', 'readonly' => true, 'context' => array( 'view', 'edit', 'embed' ), ), 'label' => array( 'description' => __( 'The category label, in human readable format.' ), 'type' => 'string', 'readonly' => true, 'context' => array( 'view', 'edit', 'embed' ), ), 'description' => array( 'description' => __( 'The category description, in human readable format.' ), 'type' => 'string', 'readonly' => true, 'context' => array( 'view', 'edit', 'embed' ), ), ), ); $this->schema = $schema; return $this->add_additional_fields_schema( $this->schema ); } }
Close