One Hat Cyber Team
Your IP :
216.73.216.36
Server IP :
162.240.179.46
Server :
Linux vps-14493116.nutrivittasaude.com.br 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
lifeprimeti
/
meta.lifeprimeti.com.br
/
api
/
View File Name :
suporte_anexos.php
<?php require_once __DIR__ . '/../config/database.php'; header('Content-Type: application/json; charset=utf-8'); requireAuth(); $ticketId = (int)($_GET['ticket_id'] ?? 0); if (!$ticketId) { echo json_encode([]); exit; } $stmt = $pdo->prepare("SELECT id, nome_original, arquivo FROM anexos WHERE modelo='suporte' AND modelo_id=? ORDER BY created_at ASC"); $stmt->execute([$ticketId]); echo json_encode($stmt->fetchAll());