⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.37
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 :
~
/
proc
/
self
/
root
/
usr
/
share
/
psa-pear
/
pear
/
View File Name :
horde-sessions-gc
#!/usr/bin/env php * @category Horde * @copyrigth 2013 Horde LLC * @license http://www.horde.org/licenses/lgpl LGPL-2 * @package Horde */ $baseFile = __DIR__ . '/../lib/Application.php'; if (file_exists($baseFile)) { require_once $baseFile; } else { require_once 'PEAR/Config.php'; require_once PEAR_Config::singleton() ->get('horde_dir', null, 'pear.horde.org') . '/lib/Application.php'; } Horde_Registry::appInit('horde', array( 'authentication' => 'none', 'cli' => true )); $parser = new Horde_Argv_Parser(); $parser->addOption('-l', '--lifetime', array( 'dest' => 'lifetime', 'help' => 'Maximum lifetime of session (in seconds)', 'type' => 'int' )); list($values,) = $parser->parseArgs(); try { $sh = $injector->createInstance('Horde_SessionHandler'); } catch (Exception $e) { $cli->fatal($e); } $lifetime = is_null($values->lifetime) ? ini_get('session.gc_maxlifetime') : $values->lifetime; $sh->gc($lifetime); $cli->message('Session garbage collection performed.', 'cli.success');