Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
cesanet /
ajax /
Delete
Unzip
Name
Size
Permission
Date
Action
cleanup-images.php
1.14
KB
-rw-r--r--
2025-06-27 10:14
php_errors.log
6.04
KB
-rw-r--r--
2026-08-21 08:11
reading-library.html.php
5.2
KB
-rw-r--r--
2026-04-29 07:23
recommended-reading.html.php
4.41
KB
-rw-r--r--
2026-04-29 07:23
resource-centre.html.php
4.7
KB
-rw-r--r--
2026-06-01 08:49
templates.html.php
3.25
KB
-rw-r--r--
2026-04-29 07:23
Save
Rename
<?php // Cleanup script for temporary PDF images if ($_SERVER['REQUEST_METHOD'] === 'POST') { $studentId = $_POST['studentId'] ?? ''; $timestamp = $_POST['timestamp'] ?? ''; if (!empty($studentId) && !empty($timestamp)) { $tempDir = $_SERVER['DOCUMENT_ROOT'] . '/temp/pdf_images/'; $pattern = $tempDir . $studentId . '_' . $timestamp . '*'; // Remove directory and all contents $dirs = glob($pattern, GLOB_ONLYDIR); foreach ($dirs as $dir) { $files = glob($dir . '/*'); foreach ($files as $file) { unlink($file); } rmdir($dir); } } } // Also cleanup old directories (older than 2 hours) $tempDir = $_SERVER['DOCUMENT_ROOT'] . '/temp/pdf_images/'; if (is_dir($tempDir)) { $dirs = glob($tempDir . '*', GLOB_ONLYDIR); $twoHoursAgo = time() - 7200; // 2 hours foreach ($dirs as $dir) { $dirTime = filemtime($dir); if ($dirTime < $twoHoursAgo) { $files = glob($dir . '/*'); foreach ($files as $file) { unlink($file); } rmdir($dir); } } }