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 /
php /
templates /
bce /
Delete
Unzip
Name
Size
Permission
Date
Action
feedbackformsreport.php
3.94
KB
-rw-r--r--
2026-08-24 10:15
feedbackformsreportexport.php
1.93
KB
-rw-r--r--
2026-08-24 10:15
guideline-view.php
1.23
KB
-rw-r--r--
2026-02-13 11:49
guideline.php
4.36
KB
-rw-r--r--
2026-02-13 11:49
memorandum.php
3.7
KB
-rw-r--r--
2026-08-24 10:15
Save
Rename
<?php if (!defined('BCE_FEEDBACK_REPORT_LOGIN')) { define('BCE_FEEDBACK_REPORT_LOGIN', '/cceadmin/login.php'); } if (!defined('BCE_FEEDBACK_REPORT_PORTAL_DIR')) { define('BCE_FEEDBACK_REPORT_PORTAL_DIR', 'cceadmin'); } session_start(); ob_start(); $bcePortalRoot = $_SERVER['DOCUMENT_ROOT'] . '/' . BCE_FEEDBACK_REPORT_PORTAL_DIR; include_once $bcePortalRoot . '/ewcfg7.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/php/includes/require_ewmysql.php'; cesa_require_ewmysql($bcePortalRoot . '/ewmysql7.php'); include_once $bcePortalRoot . '/phpfn7.php'; include_once $bcePortalRoot . '/userfn7.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/php/includes/BceAssignmentFeedbackFormsReportService.php'; if (!isset($_SESSION[EW_SESSION_STATUS]) || $_SESSION[EW_SESSION_STATUS] !== 'login') { header('Location: ' . BCE_FEEDBACK_REPORT_LOGIN); exit; } header('Cache-Control: private, no-store, no-cache, must-revalidate'); header('Pragma: no-cache'); $formId = isset($_GET['form_id']) ? trim((string) $_GET['form_id']) : ''; if ($formId === '') { header('HTTP/1.1 400 Bad Request'); header('Content-Type: text/plain; charset=UTF-8'); echo 'Missing form_id.'; exit; } $service = new BceAssignmentFeedbackFormsReportService(); $error = ''; $result = $service->exportSpreadsheet($formId, $error); if (!is_array($result) || !isset($result['body'])) { header('HTTP/1.1 502 Bad Gateway'); header('Content-Type: text/plain; charset=UTF-8'); echo 'Could not export report. ' . $error; exit; } $safeName = preg_replace('/[^a-zA-Z0-9_.-]+/', '-', $result['filename']); if ($safeName === '' || substr(strtolower($safeName), -5) !== '.xlsx') { $safeName = 'form-report.xlsx'; } header('Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); header('Content-Disposition: attachment; filename="' . $safeName . '"'); header('Content-Length: ' . strlen($result['body'])); echo $result['body']; exit;