__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* @package akeebabackup
* @copyright Copyright (c)2006-2024 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
*/
namespace Akeeba\Component\AkeebaBackup\Administrator\Field;
defined('_JEXEC') || die();
use Akeeba\Component\AkeebaBackup\Administrator\Mixin\AkeebaEngineTrait;
use Akeeba\Engine\Factory;
use Exception;
use Joomla\CMS\Factory as JoomlaFactory;
use Joomla\CMS\Form\Field\TextField;
use Joomla\Database\DatabaseInterface;
class AkencryptedField extends TextField
{
use AkeebaEngineTrait;
protected $type = "Akencrypted";
protected function getInput()
{
$this->value = $this->conditionalDecrypt($this->value);
return parent::getInput();
}
private function conditionalDecrypt($value)
{
// If the Factory is not already loaded we have to load the
if (!class_exists('Akeeba\Engine\Factory'))
{
$dbo = method_exists($this, 'getDatabase')
? $this->getDatabase()
: JoomlaFactory::getApplication()->bootComponent('com_akeebabackup')->getContainer()->get(DatabaseInterface::class);
try
{
$this->loadAkeebaEngine($dbo);
$this->loadAkeebaEngineConfiguration();
}
catch (Exception $e)
{
return $value;
}
}
$secureSettings = Factory::getSecureSettings();
return $secureSettings->decryptSettings($this->value);
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| AkencryptedField.php | File | 1.32 KB | 0664 |
|
| BackupprofilesField.php | File | 1.62 KB | 0664 |
|
| Oauth2urlField.php | File | 1.5 KB | 0664 |
|
| UrlencodedField.php | File | 495 B | 0664 |
|