__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/**
* @package akeebabackup
* @copyright Copyright (c)2006-2024 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
*/
"use strict";
if (typeof akeebabackup == "undefined")
{
var akeebabackup = {};
}
if (typeof akeebabackup.S3import == "undefined")
{
akeebabackup.S3import = {};
}
akeebabackup.S3import.delayedApplicationOfS3KeysInGUI = function ()
{
var elAccessKey = document.getElementById("s3access");
var elSecretKey = document.getElementById("s3secret");
if ((elAccessKey === null) || (elSecretKey === null))
{
return;
}
/**
* This makes sure that the S3 access and secret keys are not replaced by the browser or a password manager browser
* extensions with some arbitrary username and password combination.
*/
setTimeout(function ()
{
document.getElementById("s3access").value = Joomla.getOptions("akeebabackup.S3import.accessKey");
document.getElementById("s3secret").value = Joomla.getOptions("akeebabackup.S3import.secretKey");
}, 500);
};
//=============================================================================
// Akeeba Backup Pro - Import arbitrary archives from S3
//=============================================================================
akeebabackup.S3import.resetRoot = function ()
{
document.getElementById("ak_s3import_folder").value = "";
return true;
};
akeebabackup.S3import.changeDirectory = function (e)
{
var elTarget = e.target;
var encodedPrefix = elTarget.dataset["s3prefix"] ?? "";
document.getElementById("ak_s3import_folder").value = atob(encodedPrefix);
document.forms.adminForm.submit();
};
/**
*
* @param {Event} e
*/
akeebabackup.S3import.importFile = function (e)
{
var elTarget = e.target;
var encodedName = elTarget.dataset["s3object"] ?? "";
var objectName = atob(encodedName);
if (objectName === "")
{
return false;
}
window.location = Joomla.getOptions("akeebabackup.S3import.importURL") + "&file=" + encodeURIComponent(objectName);
};
akeebabackup.System.documentReady(function ()
{
akeebabackup.S3import.delayedApplicationOfS3KeysInGUI();
var akeebaS3importResetRoot = document.getElementById('akeebaS3importResetRoot');
if (akeebaS3importResetRoot)
{
akeebaS3importResetRoot.addEventListener("click", akeebabackup.S3import.resetRoot);
}
akeebabackup.System.iterateNodes(".akeebaS3importChangeDirectory", function (el)
{
el.addEventListener("click", akeebabackup.S3import.changeDirectory);
});
akeebabackup.System.iterateNodes(".akeebaS3importObjectDownload", function (el)
{
el.addEventListener("click", akeebabackup.S3import.importFile);
});
var redirectionURL = Joomla.getOptions("akeebabackup.S3import.autoRedirectURL", "");
if (redirectionURL !== "")
{
window.location = redirectionURL;
}
});| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Backup.js | File | 18.73 KB | 0664 |
|
| Backup.min.js | File | 10.27 KB | 0664 |
|
| Browser.js | File | 1018 B | 0664 |
|
| Browser.min.js | File | 647 B | 0664 |
|
| Configuration.js | File | 75.16 KB | 0664 |
|
| Configuration.min.js | File | 33.87 KB | 0664 |
|
| ConfigurationWizard.js | File | 13.3 KB | 0664 |
|
| ConfigurationWizard.min.js | File | 7.78 KB | 0664 |
|
| ControlPanel.js | File | 2.92 KB | 0664 |
|
| ControlPanel.min.js | File | 1.51 KB | 0664 |
|
| DatabaseFilters.js | File | 16.6 KB | 0664 |
|
| DatabaseFilters.min.js | File | 7.96 KB | 0664 |
|
| Discover.js | File | 614 B | 0664 |
|
| Discover.min.js | File | 326 B | 0664 |
|
| FileFilters.js | File | 31.18 KB | 0664 |
|
| FileFilters.min.js | File | 14.23 KB | 0664 |
|
| IncludeFolders.js | File | 13.03 KB | 0664 |
|
| IncludeFolders.min.js | File | 6.27 KB | 0664 |
|
| Log.js | File | 1.06 KB | 0664 |
|
| Log.min.js | File | 702 B | 0664 |
|
| Manage.js | File | 5.55 KB | 0664 |
|
| Manage.min.js | File | 3.39 KB | 0664 |
|
| MultipleDatabases.js | File | 16.75 KB | 0664 |
|
| MultipleDatabases.min.js | File | 8.19 KB | 0664 |
|
| RegExDatabaseFilters.js | File | 10.87 KB | 0664 |
|
| RegExDatabaseFilters.min.js | File | 5.49 KB | 0664 |
|
| RegExFileFilters.js | File | 11.11 KB | 0664 |
|
| RegExFileFilters.min.js | File | 5.67 KB | 0664 |
|
| RemoteFiles.js | File | 1.75 KB | 0664 |
|
| RemoteFiles.min.js | File | 876 B | 0664 |
|
| Restore.js | File | 14.35 KB | 0664 |
|
| Restore.min.js | File | 6.28 KB | 0664 |
|
| S3Import.js | File | 2.9 KB | 0664 |
|
| S3Import.min.js | File | 1.69 KB | 0664 |
|
| System.js | File | 43.92 KB | 0664 |
|
| System.min.js | File | 11.09 KB | 0664 |
|
| Transfer.js | File | 18.97 KB | 0664 |
|
| Transfer.min.js | File | 12.98 KB | 0664 |
|
| Upload.js | File | 1.11 KB | 0664 |
|
| Upload.min.js | File | 567 B | 0664 |
|
| WebPush.js | File | 11.81 KB | 0664 |
|
| WebPush.min.js | File | 7.77 KB | 0664 |
|
| WebPushWorker.js | File | 479 B | 0664 |
|
| WebPushWorker.min.js | File | 256 B | 0664 |
|