From 195b5193fc91b55a7d41d0deacf657a0ea6c4540 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 13 Nov 2025 00:04:18 +0900 Subject: modified recordings/recordings-plain.html, modified api/whoami.php, created api/leak-files.php --- static/api/leak-files.php | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 static/api/leak-files.php (limited to 'static/api/leak-files.php') diff --git a/static/api/leak-files.php b/static/api/leak-files.php new file mode 100644 index 0000000..cd0a104 --- /dev/null +++ b/static/api/leak-files.php @@ -0,0 +1,42 @@ + $item, + 'url' => '/recordings/Leak/' . urlencode($item), + 'size' => filesize($path), + 'modified' => filemtime($path) + ]; + } + } + } + // 최신 파일부터 정렬 + usort($files, function($a, $b) { + return $b['modified'] - $a['modified']; + }); + } + } +} catch (Exception $e) { + // 에러 발생 시 빈 배열 반환 + $files = []; +} + +echo json_encode(['files' => $files]); +?> + -- cgit v1.2.3