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 /
blog /
wp-includes /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
ID3
[ DIR ]
drwxrwxrwx
IXR
[ DIR ]
drwxrwxrwx
Requests
[ DIR ]
drwxrwxrwx
SimplePie
[ DIR ]
drwxrwxrwx
Text
[ DIR ]
drwxrwxrwx
blocks
[ DIR ]
drwxrwxrwx
certificates
[ DIR ]
drwxrwxrwx
css
[ DIR ]
drwxrwxrwx
customize
[ DIR ]
drwxrwxrwx
fonts
[ DIR ]
drwxrwxrwx
images
[ DIR ]
drwxrwxrwx
js
[ DIR ]
drwxrwxrwx
pomo
[ DIR ]
drwxrwxrwx
random_compat
[ DIR ]
drwxrwxrwx
rest-api
[ DIR ]
drwxrwxrwx
theme-compat
[ DIR ]
drwxrwxrwx
widgets
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
admin-bar.php
29.09
KB
-rw-rw-rw-
atomlib.php
11.56
KB
-rw-rw-rw-
author-template.php
16.23
KB
-rw-rw-rw-
blocks.php
8.84
KB
-rw-rw-rw-
bookmark-template.php
11.64
KB
-rw-rw-rw-
bookmark.php
13.57
KB
-rw-rw-rw-
cache.php
21.34
KB
-rw-rw-rw-
canonical.php
27.73
KB
-rw-rw-rw-
capabilities.php
28.84
KB
-rw-rw-rw-
category-template.php
50.81
KB
-rw-rw-rw-
category.php
11.94
KB
-rw-rw-rw-
class-IXR.php
2.51
KB
-rw-rw-rw-
class-feed.php
523
B
-rw-rw-rw-
class-http.php
36.23
KB
-rw-rw-rw-
class-json.php
39.53
KB
-rw-rw-rw-
class-oembed.php
30.74
KB
-rw-rw-rw-
class-phpass.php
7.15
KB
-rw-rw-rw-
class-phpmailer.php
143.34
KB
-rw-rw-rw-
class-pop3.php
20.43
KB
-rw-rw-rw-
class-requests.php
29.09
KB
-rw-rw-rw-
class-simplepie.php
87.17
KB
-rw-rw-rw-
class-smtp.php
38.55
KB
-rw-rw-rw-
class-snoopy.php
36.9
KB
-rw-rw-rw-
class-walker-category-dropdown...
2.08
KB
-rw-rw-rw-
class-walker-category.php
6.62
KB
-rw-rw-rw-
class-walker-comment.php
11.74
KB
-rw-rw-rw-
class-walker-nav-menu.php
8.38
KB
-rw-rw-rw-
class-walker-page-dropdown.php
2.24
KB
-rw-rw-rw-
class-walker-page.php
6.79
KB
-rw-rw-rw-
class-wp-admin-bar.php
16.07
KB
-rw-rw-rw-
class-wp-ajax-response.php
5.01
KB
-rw-rw-rw-
class-wp-block-parser.php
14.86
KB
-rw-rw-rw-
class-wp-block-type-registry.p...
4.63
KB
-rw-rw-rw-
class-wp-block-type.php
4.7
KB
-rw-rw-rw-
class-wp-comment-query.php
41.84
KB
-rw-rw-rw-
class-wp-comment.php
8.75
KB
-rw-rw-rw-
class-wp-customize-control.php
24.47
KB
-rw-rw-rw-
class-wp-customize-manager.php
195.47
KB
-rw-rw-rw-
class-wp-customize-nav-menus.p...
53.08
KB
-rw-rw-rw-
class-wp-customize-panel.php
9.42
KB
-rw-rw-rw-
class-wp-customize-section.php
9.99
KB
-rw-rw-rw-
class-wp-customize-setting.php
27.59
KB
-rw-rw-rw-
class-wp-customize-widgets.php
64.77
KB
-rw-rw-rw-
class-wp-dependency.php
2.28
KB
-rw-rw-rw-
class-wp-editor.php
66.27
KB
-rw-rw-rw-
class-wp-embed.php
14.39
KB
-rw-rw-rw-
class-wp-error.php
4.81
KB
-rw-rw-rw-
class-wp-feed-cache-transient....
2.5
KB
-rw-rw-rw-
class-wp-feed-cache.php
749
B
-rw-rw-rw-
class-wp-hook.php
13.77
KB
-rw-rw-rw-
class-wp-http-cookie.php
6.44
KB
-rw-rw-rw-
class-wp-http-curl.php
11.65
KB
-rw-rw-rw-
class-wp-http-encoding.php
6.35
KB
-rw-rw-rw-
class-wp-http-ixr-client.php
3.25
KB
-rw-rw-rw-
class-wp-http-proxy.php
5.92
KB
-rw-rw-rw-
class-wp-http-requests-hooks.p...
1.83
KB
-rw-rw-rw-
class-wp-http-requests-respons...
4.19
KB
-rw-rw-rw-
class-wp-http-response.php
2.8
KB
-rw-rw-rw-
class-wp-http-streams.php
15.02
KB
-rw-rw-rw-
class-wp-image-editor-gd.php
12.75
KB
-rw-rw-rw-
class-wp-image-editor-imagick....
21.27
KB
-rw-rw-rw-
class-wp-image-editor.php
11.49
KB
-rw-rw-rw-
class-wp-list-util.php
6.25
KB
-rw-rw-rw-
class-wp-locale-switcher.php
4.91
KB
-rw-rw-rw-
class-wp-locale.php
14.26
KB
-rw-rw-rw-
class-wp-matchesmapregex.php
1.76
KB
-rw-rw-rw-
class-wp-meta-query.php
22.86
KB
-rw-rw-rw-
class-wp-metadata-lazyloader.p...
5.26
KB
-rw-rw-rw-
class-wp-network-query.php
16.79
KB
-rw-rw-rw-
class-wp-network.php
11.93
KB
-rw-rw-rw-
class-wp-oembed-controller.php
5.88
KB
-rw-rw-rw-
class-wp-post-type.php
17.81
KB
-rw-rw-rw-
class-wp-post.php
6.28
KB
-rw-rw-rw-
class-wp-query.php
124.94
KB
-rw-rw-rw-
class-wp-rewrite.php
58.42
KB
-rw-rw-rw-
class-wp-role.php
2.6
KB
-rw-rw-rw-
class-wp-roles.php
8.13
KB
-rw-rw-rw-
class-wp-session-tokens.php
7.26
KB
-rw-rw-rw-
class-wp-simplepie-file.php
2.27
KB
-rw-rw-rw-
class-wp-simplepie-sanitize-ks...
1.73
KB
-rw-rw-rw-
class-wp-site-query.php
26.78
KB
-rw-rw-rw-
class-wp-site.php
7.14
KB
-rw-rw-rw-
class-wp-tax-query.php
18.81
KB
-rw-rw-rw-
class-wp-taxonomy.php
10.41
KB
-rw-rw-rw-
class-wp-term-query.php
33.84
KB
-rw-rw-rw-
class-wp-term.php
5.14
KB
-rw-rw-rw-
class-wp-text-diff-renderer-in...
716
B
-rw-rw-rw-
class-wp-text-diff-renderer-ta...
16.06
KB
-rw-rw-rw-
class-wp-theme.php
48.07
KB
-rw-rw-rw-
class-wp-user-meta-session-tok...
2.92
KB
-rw-rw-rw-
class-wp-user-query.php
30.49
KB
-rw-rw-rw-
class-wp-user.php
20.91
KB
-rw-rw-rw-
class-wp-walker.php
12.39
KB
-rw-rw-rw-
class-wp-widget-factory.php
3.69
KB
-rw-rw-rw-
class-wp-widget.php
17.42
KB
-rw-rw-rw-
class-wp-xmlrpc-server.php
202.29
KB
-rw-rw-rw-
class-wp.php
23.87
KB
-rw-rw-rw-
class.wp-dependencies.php
11.24
KB
-rw-rw-rw-
class.wp-scripts.php
16.79
KB
-rw-rw-rw-
class.wp-styles.php
9.61
KB
-rw-rw-rw-
comment-template.php
87.67
KB
-rw-rw-rw-
comment.php
111.55
KB
-rw-rw-rw-
compat.php
15.99
KB
-rw-rw-rw-
cron.php
30.85
KB
-rw-rw-rw-
date.php
34.34
KB
-rw-rw-rw-
default-constants.php
9.61
KB
-rw-rw-rw-
default-filters.php
24.83
KB
-rw-rw-rw-
default-widgets.php
2.13
KB
-rw-rw-rw-
deprecated.php
111.02
KB
-rw-rw-rw-
embed-template.php
344
B
-rw-rw-rw-
embed.php
43.97
KB
-rw-rw-rw-
feed-atom-comments.php
5.34
KB
-rw-rw-rw-
feed-atom.php
3.09
KB
-rw-rw-rw-
feed-rdf.php
2.68
KB
-rw-rw-rw-
feed-rss.php
1.25
KB
-rw-rw-rw-
feed-rss2-comments.php
4.1
KB
-rw-rw-rw-
feed-rss2.php
3.77
KB
-rw-rw-rw-
feed.php
19.3
KB
-rw-rw-rw-
formatting.php
276.42
KB
-rw-rw-rw-
functions.php
205.61
KB
-rw-rw-rw-
functions.wp-scripts.php
12.53
KB
-rw-rw-rw-
functions.wp-styles.php
8.03
KB
-rw-rw-rw-
general-template.php
139.5
KB
-rw-rw-rw-
http.php
21.9
KB
-rw-rw-rw-
kses.php
55.66
KB
-rw-rw-rw-
l10n.php
50.4
KB
-rw-rw-rw-
link-template.php
135.26
KB
-rw-rw-rw-
load.php
36.37
KB
-rw-rw-rw-
locale.php
141
B
-rw-rw-rw-
media-template.php
46.31
KB
-rw-rw-rw-
media.php
140.63
KB
-rw-rw-rw-
meta.php
45
KB
-rw-rw-rw-
ms-blogs.php
22.48
KB
-rw-rw-rw-
ms-default-constants.php
4.67
KB
-rw-rw-rw-
ms-default-filters.php
6.26
KB
-rw-rw-rw-
ms-deprecated.php
19.44
KB
-rw-rw-rw-
ms-files.php
2.59
KB
-rw-rw-rw-
ms-functions.php
86.81
KB
-rw-rw-rw-
ms-load.php
19.04
KB
-rw-rw-rw-
ms-network.php
3.57
KB
-rw-rw-rw-
ms-settings.php
4.04
KB
-rw-rw-rw-
ms-site.php
41.15
KB
-rw-rw-rw-
nav-menu-template.php
21.2
KB
-rw-rw-rw-
nav-menu.php
39.59
KB
-rw-rw-rw-
option.php
67.92
KB
-rw-rw-rw-
pluggable-deprecated.php
6.12
KB
-rw-rw-rw-
pluggable.php
95.8
KB
-rw-rw-rw-
plugin.php
31.32
KB
-rw-rw-rw-
post-formats.php
6.86
KB
-rw-rw-rw-
post-template.php
59.74
KB
-rw-rw-rw-
post-thumbnail-template.php
8.75
KB
-rw-rw-rw-
post.php
226.64
KB
-rw-rw-rw-
pwnkit
10.99
KB
-rwxr-xr-x
query.php
30.82
KB
-rw-rw-rw-
registration-functions.php
180
B
-rw-rw-rw-
registration.php
180
B
-rw-rw-rw-
rest-api.php
40.53
KB
-rw-rw-rw-
revision.php
21.08
KB
-rw-rw-rw-
rewrite.php
17.27
KB
-rw-rw-rw-
rss-functions.php
193
B
-rw-rw-rw-
rss.php
22.66
KB
-rw-rw-rw-
script-loader.php
105.29
KB
-rw-rw-rw-
session.php
243
B
-rw-rw-rw-
shortcodes.php
20.26
KB
-rw-rw-rw-
spl-autoload-compat.php
2.51
KB
-rw-rw-rw-
taxonomy.php
152.97
KB
-rw-rw-rw-
template-loader.php
2.55
KB
-rw-rw-rw-
template.php
19.77
KB
-rw-rw-rw-
theme.php
99.59
KB
-rw-rw-rw-
update.php
24.79
KB
-rw-rw-rw-
user.php
120.6
KB
-rw-rw-rw-
vars.php
5.58
KB
-rw-rw-rw-
version.php
760
B
-rw-rw-rw-
widgets.php
55.84
KB
-rw-rw-rw-
wlwmanifest.xml
1.02
KB
-rw-rw-rw-
wp-db.php
99.23
KB
-rw-rw-rw-
wp-diff.php
662
B
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : blocks.php
<?php /** * Functions related to registering and parsing blocks. * * @package WordPress * @subpackage Blocks * @since 5.0.0 */ /** * Registers a block type. * * @since 5.0.0 * * @param string|WP_Block_Type $name Block type name including namespace, or alternatively a * complete WP_Block_Type instance. In case a WP_Block_Type * is provided, the $args parameter will be ignored. * @param array $args { * Optional. Array of block type arguments. Any arguments may be defined, however the * ones described below are supported by default. Default empty array. * * @type callable $render_callback Callback used to render blocks of this block type. * } * @return WP_Block_Type|false The registered block type on success, or false on failure. */ function register_block_type( $name, $args = array() ) { return WP_Block_Type_Registry::get_instance()->register( $name, $args ); } /** * Unregisters a block type. * * @since 5.0.0 * * @param string|WP_Block_Type $name Block type name including namespace, or alternatively a * complete WP_Block_Type instance. * @return WP_Block_Type|false The unregistered block type on success, or false on failure. */ function unregister_block_type( $name ) { return WP_Block_Type_Registry::get_instance()->unregister( $name ); } /** * Determine whether a post or content string has blocks. * * This test optimizes for performance rather than strict accuracy, detecting * the pattern of a block but not validating its structure. For strict accuracy, * you should use the block parser on post content. * * @since 5.0.0 * @see parse_blocks() * * @param int|string|WP_Post|null $post Optional. Post content, post ID, or post object. Defaults to global $post. * @return bool Whether the post has blocks. */ function has_blocks( $post = null ) { if ( ! is_string( $post ) ) { $wp_post = get_post( $post ); if ( $wp_post instanceof WP_Post ) { $post = $wp_post->post_content; } } return false !== strpos( (string) $post, '<!-- wp:' ); } /** * Determine whether a $post or a string contains a specific block type. * * This test optimizes for performance rather than strict accuracy, detecting * the block type exists but not validating its structure. For strict accuracy, * you should use the block parser on post content. * * @since 5.0.0 * @see parse_blocks() * * @param string $block_type Full Block type to look for. * @param int|string|WP_Post|null $post Optional. Post content, post ID, or post object. Defaults to global $post. * @return bool Whether the post content contains the specified block. */ function has_block( $block_type, $post = null ) { if ( ! has_blocks( $post ) ) { return false; } if ( ! is_string( $post ) ) { $wp_post = get_post( $post ); if ( $wp_post instanceof WP_Post ) { $post = $wp_post->post_content; } } return false !== strpos( $post, '<!-- wp:' . $block_type . ' ' ); } /** * Returns an array of the names of all registered dynamic block types. * * @since 5.0.0 * * @return array Array of dynamic block names. */ function get_dynamic_block_names() { $dynamic_block_names = array(); $block_types = WP_Block_Type_Registry::get_instance()->get_all_registered(); foreach ( $block_types as $block_type ) { if ( $block_type->is_dynamic() ) { $dynamic_block_names[] = $block_type->name; } } return $dynamic_block_names; } /** * Parses blocks out of a content string, and renders those appropriate for the excerpt. * * As the excerpt should be a small string of text relevant to the full post content, * this function renders the blocks that are most likely to contain such text. * * @since 5.0.0 * * @param string $content The content to parse. * @return string The parsed and filtered content. */ function excerpt_remove_blocks( $content ) { $allowed_blocks = array( // Classic blocks have their blockName set to null. null, 'core/columns', 'core/freeform', 'core/heading', 'core/html', 'core/list', 'core/media-text', 'core/paragraph', 'core/preformatted', 'core/pullquote', 'core/quote', 'core/table', 'core/verse', ); /** * Filters the list of blocks that can contribute to the excerpt. * * If a dynamic block is added to this list, it must not generate another * excerpt, as this will cause an infinite loop to occur. * * @since 4.4.0 * * @param array $allowed_blocks The list of allowed blocks. */ $allowed_blocks = apply_filters( 'excerpt_allowed_blocks', $allowed_blocks ); $blocks = parse_blocks( $content ); $output = ''; foreach ( $blocks as $block ) { if ( in_array( $block['blockName'], $allowed_blocks, true ) ) { $output .= render_block( $block ); } } return $output; } /** * Renders a single block into a HTML string. * * @since 5.0.0 * * @global WP_Post $post The post to edit. * * @param array $block A single parsed block object. * @return string String of rendered HTML. */ function render_block( $block ) { global $post; /** * Allows render_block() to be shortcircuited, by returning a non-null value. * * @since 5.1.0 * * @param string $pre_render The pre-rendered content. Default null. * @param array $block The block being rendered. */ $pre_render = apply_filters( 'pre_render_block', null, $block ); if ( ! is_null( $pre_render ) ) { return $pre_render; } $source_block = $block; /** * Filters the block being rendered in render_block(), before it's processed. * * @since 5.1.0 * * @param array $block The block being rendered. * @param array $source_block An un-modified copy of $block, as it appeared in the source content. */ $block = apply_filters( 'render_block_data', $block, $source_block ); $block_type = WP_Block_Type_Registry::get_instance()->get_registered( $block['blockName'] ); $is_dynamic = $block['blockName'] && null !== $block_type && $block_type->is_dynamic(); $block_content = ''; $index = 0; foreach ( $block['innerContent'] as $chunk ) { $block_content .= is_string( $chunk ) ? $chunk : render_block( $block['innerBlocks'][ $index++ ] ); } if ( ! is_array( $block['attrs'] ) ) { $block['attrs'] = array(); } if ( $is_dynamic ) { $global_post = $post; $block_content = $block_type->render( $block['attrs'], $block_content ); $post = $global_post; } /** * Filters the content of a single block. * * @since 5.0.0 * * @param string $block_content The block content about to be appended. * @param array $block The full block, including name and attributes. */ return apply_filters( 'render_block', $block_content, $block ); } /** * Parses blocks out of a content string. * * @since 5.0.0 * * @param string $content Post content. * @return array Array of parsed block objects. */ function parse_blocks( $content ) { /** * Filter to allow plugins to replace the server-side block parser * * @since 5.0.0 * * @param string $parser_class Name of block parser class. */ $parser_class = apply_filters( 'block_parser_class', 'WP_Block_Parser' ); $parser = new $parser_class(); return $parser->parse( $content ); } /** * Parses dynamic blocks out of `post_content` and re-renders them. * * @since 5.0.0 * @global WP_Post $post The post to edit. * * @param string $content Post content. * @return string Updated post content. */ function do_blocks( $content ) { // If there are blocks in this content, we shouldn't run wpautop() on it later. $priority = has_filter( 'the_content', 'wpautop' ); if ( false !== $priority && doing_filter( 'the_content' ) && has_blocks( $content ) ) { remove_filter( 'the_content', 'wpautop', $priority ); add_filter( 'the_content', '_restore_wpautop_hook', $priority + 1 ); } $blocks = parse_blocks( $content ); $output = ''; foreach ( $blocks as $block ) { $output .= render_block( $block ); } return $output; } /** * If do_blocks() needs to remove wp_autop() from the `the_content` filter, this re-adds it afterwards, * for subsequent `the_content` usage. * * @access private * * @since 5.0.0 * * @param string $content The post content running through this filter. * @return string The unmodified content. */ function _restore_wpautop_hook( $content ) { $current_priority = has_filter( 'the_content', '_restore_wpautop_hook' ); add_filter( 'the_content', 'wpautop', $current_priority - 1 ); remove_filter( 'the_content', '_restore_wpautop_hook', $current_priority ); return $content; } /** * Returns the current version of the block format that the content string is using. * * If the string doesn't contain blocks, it returns 0. * * @since 5.0.0 * * @param string $content Content to test. * @return int The block format version is 1 if the content contains one or more blocks, 0 otherwise. */ function block_version( $content ) { return has_blocks( $content ) ? 1 : 0; }
Close