⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.97
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-horde
/
kronolith
/
View File Name :
fb.php
* @package Kronolith */ require_once __DIR__ . '/lib/Application.php'; Horde_Registry::appInit('kronolith', array('authentication' => 'none', 'session_control' => 'none')); // Determine the username to show free/busy time for. $cal = Horde_Util::getFormData('c'); $user = Horde_Util::getFormData('u'); if (!empty($cal)) { if (is_array($cal)) { $cal = implode('|', $cal); } } elseif ($pathInfo = Horde_Util::getPathInfo()) { $user = basename($pathInfo); } $cache = $injector->getInstance('Horde_Cache'); $key = 'kronolith.fb.' . ($user ? 'u.' . $user : 'c.' . $cal); $fb = $cache->get($key, 360); if (!$fb) { if ($user) { $prefs = $GLOBALS['injector']->getInstance('Horde_Core_Factory_Prefs')->create('kronolith', array( 'cache' => false, 'user' => $user )); $registry->setTimeZone(); $cal = @unserialize($prefs->getValue('fb_cals')); if (is_array($cal)) { $cal = implode('|', $cal); } // If the free/busy calendars preference is empty, default to // the user's default_share preference, and if that's empty, // to their username. if (!$cal) { $cal = $prefs->getValue('default_share'); if (!$cal) { $cal = $user; } $cal = 'internal_' . $cal; } } try { $fb = Kronolith_FreeBusy::generate(explode('|', $cal), null, null, false, $user); } catch (Exception $e) { Horde::log($e, 'ERR'); exit; } $cache->set($key, $fb); } $browser->downloadHeaders(($user ? $user : $cal) . '.vfb', 'text/calendar; charset=' . 'UTF-8', true, strlen($fb)); echo $fb;